/* The homepage is a working salary tool: clear type, quiet surfaces, real data. */
:root { --home-canvas: #f5f8f6; --home-card: #ffffff; --home-border: #d8e3dc; --home-text: #14271f; --home-muted: #586b60; }
html[data-theme="dark"] { --home-canvas: #0d1611; --home-card: #121f18; --home-border: #2a3c31; --home-text: #edf5ef; --home-muted: #acbdb0; }
html:root body.home-refined,
html:root body.home-refined #main-content { background: var(--home-canvas) !important; background-image: none !important; }
html:root body.home-refined #main-content::before,
html:root body.home-refined #main-content::after,
html:root body.home-refined .home-hero::before,
html:root body.home-refined .home-hero::after { content: none !important; }
html:root body.home-refined #main-content > .home-hero {
  position: relative; isolation: isolate; padding: 48px 0 56px !important;
  min-height: 0 !important; border: 0 !important; overflow: hidden;
  background: linear-gradient(112deg, #edf3ed 0%, #edf3ed 55%, #dbe9e0 55%, #e5eee8 100%) !important;
}
html[data-theme="dark"]:root body.home-refined #main-content > .home-hero {
  background: linear-gradient(112deg, #14271f 0%, #14271f 55%, #1b3529 55%, #193025 100%) !important;
}
html:root body.home-refined .home-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 432px) !important;
  gap: 72px !important; align-items: start !important;
}
html:root body.home-refined .home-copy { padding: 12px 0 0 !important; max-width: 600px !important; }
html:root body.home-refined .home-copy h1 {
  margin: 22px 0 0 !important; max-width: 570px; font-size: clamp(38px, 4.3vw, 56px) !important;
  line-height: 1.09 !important; letter-spacing: -.045em !important;
  font-weight: 720 !important; color: var(--home-text) !important;
}
html:root body.home-refined .home-country { display: inline-flex; align-items: center; gap: 9px; color: var(--home-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.argentina-flag {
  position: relative; display: inline-block; vertical-align: .06em;
  width: 24px; height: 16px; border-radius: 2px;
  background: linear-gradient(to bottom, #75b8dc 0 33.33%, #fff 33.33% 66.66%, #75b8dc 66.66%);
  border: 1px solid rgba(28, 76, 102, .1);
}
.argentina-flag::after { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #d4a543; left: calc(50% - 2px); top: calc(50% - 2px); }
html:root body.home-refined .home-copy > p { max-width: 480px !important; margin: 24px 0 0 !important; font-size: 16px !important; line-height: 1.7 !important; color: var(--home-muted) !important; }
html:root body.home-refined .home-actions { gap: 12px !important; margin-top: 28px !important; }
html:root body.home-refined .home-actions :is(a,button) {
  min-height: 46px !important; border-radius: 8px !important; padding: 12px 18px !important;
  font-size: 13px !important; font-weight: 600 !important; box-shadow: none !important;
  transform: none !important; background-image: none !important;
}
html:root body.home-refined .home-primary { background: #0b805e !important; color: #fff !important; border: 1px solid #0b805e !important; }
html:root body.home-refined .home-secondary { color: var(--home-text) !important; background: transparent !important; border: 1px solid var(--home-border) !important; }
.home-shortcuts { margin-top: 38px; max-width: 470px; }
.home-shortcuts > p { margin: 0 0 8px; color: var(--home-muted); font-size: 12px; font-weight: 500; }
.home-shortcuts a { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--home-border); color: var(--home-text); text-decoration: none; transition: padding-left .18s ease, color .18s ease; }
.home-shortcuts svg { grid-row: span 2; align-self: center; width: 24px; height: 24px; color: #0b805e; }
.home-shortcuts strong { font-size: 14px; font-weight: 600; }
.home-shortcuts small { margin-top: 4px; color: var(--home-muted); font-size: 12px; line-height: 1.5; }
.home-shortcuts a:hover { padding-left: 6px; color: #087653; }
.home-shortcuts a:focus-visible { outline: 2px solid #0b8f69; outline-offset: 4px; }
html[data-theme="dark"] .home-shortcuts svg, html[data-theme="dark"] .home-shortcuts a:hover { color: #87d8b5; }
html:root body.home-refined .home-feature.sc-salary-preview {
  padding: 28px !important; border: 1px solid var(--home-border) !important;
  border-radius: 16px !important; background: var(--home-card) !important;
  box-shadow: 0 12px 38px rgba(27, 65, 43, .06) !important; transform: none !important; animation: none !important;
}
html:root body.home-refined .home-feature-top { justify-content: space-between !important; margin-bottom: 16px !important; }
html:root body.home-refined .home-feature-top > span { font-size: 12px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--home-muted) !important; }
html:root body.home-refined .home-feature h2 { font-size: 22px !important; line-height: 1.2 !important; letter-spacing: -.025em !important; color: var(--home-text) !important; }
html:root body.home-refined .home-feature > p { font-size: 13px !important; line-height: 1.6 !important; color: var(--home-muted) !important; }
html:root body.home-refined .sc-salary-label { margin-top: 24px !important; font-size: 12px !important; }
html:root body.home-refined .sc-hero-input-wrap { display: flex !important; align-items: center !important; gap: 8px !important; margin-top: 8px !important; border-radius: 8px !important; border: 1px solid var(--home-border) !important; background: var(--home-card) !important; box-shadow: none !important; padding: 0 12px !important; min-height: 52px !important; }
html:root body.home-refined .sc-hero-currency { position: static !important; transform: none !important; font-family: inherit !important; flex: 0 0 auto !important; }
html:root body.home-refined .sc-hero-input-wrap:focus-within { border-color: #0b8f69 !important; box-shadow: 0 0 0 3px rgba(11, 143, 105, .12) !important; }
html:root body.home-refined .sc-hero-input { font-family: inherit !important; font-size: 24px !important; font-variant-numeric: tabular-nums; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 10px 0 !important; height: auto !important; min-height: 0 !important; line-height: 1.3 !important; }
html:root body.home-refined .sc-hero-presets { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; margin: 10px 0 0 !important; gap: 8px !important; }
html:root body.home-refined .sc-preset-btn { font-family: inherit !important; border-radius: 6px !important; min-width: 0 !important; min-height: 34px !important; padding: 6px 0 !important; font-size: 11px !important; font-weight: 500 !important; }
html:root body.home-refined .sc-hero-net-card { margin-top: 24px !important; padding: 20px 0 0 !important; border: 0 !important; border-top: 1px solid var(--home-border) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html:root body.home-refined .sc-hero-net-head { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 6px !important; }
html:root body.home-refined .sc-hero-net-label { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; font-weight: 500 !important; }
html:root body.home-refined .sc-hero-net-val { font-family: inherit !important; font-size: clamp(32px, 3vw, 40px) !important; font-variant-numeric: tabular-nums; letter-spacing: -.04em !important; text-shadow: none !important; }
html:root body.home-refined .sc-hero-bar { display: flex !important; height: 8px !important; margin-top: 16px !important; border-radius: 3px !important; background: #e9eeeb !important; overflow: hidden !important; }
html:root body.home-refined .sc-hero-bar > div { flex: 0 0 auto !important; height: 100% !important; transition: width .24s ease !important; border-radius: 0 !important; }
html:root body.home-refined .sc-hero-bar-net { background: #0b8f69 !important; }
html:root body.home-refined .sc-hero-bar-deduc { background: #97aba0 !important; }
.salary-scale, .salary-legend { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; color: var(--home-muted); }
.salary-scale { margin-top: 6px; font-variant-numeric: tabular-nums; }
.salary-legend { margin-top: 12px; justify-content: flex-start; font-size: 11px; }
.salary-legend span { display: inline-flex; align-items: center; gap: 6px; }
.salary-legend span::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: #0b8f69; }
.salary-legend span + span::before { background: #97aba0; }
html:root body.home-refined .sc-hero-deductions { margin-top: 16px !important; display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; }
html:root body.home-refined .sc-deduc-chip { display: flex !important; align-items: center !important; justify-content: space-between !important; background: none !important; border: 0 !important; border-radius: 0 !important; padding: 6px 0 !important; }
html:root body.home-refined .sc-deduc-chip strong { margin: 0 !important; }
html:root body.home-refined .sc-hero-calc-cta { border-radius: 8px !important; box-shadow: none !important; background: #0b805e !important; background-image: none !important; min-height: 44px !important; font-size: 12px !important; margin-top: 20px !important; }
html:root body.home-refined .home-feature > .sc-salary-note { margin-bottom: 0 !important; font-size: 11px !important; line-height: 1.6 !important; color: var(--home-muted) !important; }
html[data-theme="dark"]:root body.home-refined .sc-hero-bar { background: #25362c !important; }
@media (max-width: 1000px) { html:root body.home-refined .home-hero-grid { gap: 32px !important; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px) !important; } }
@media (max-width: 900px) {
  html:root body.home-refined .home-hero { padding: 36px 0 48px !important; }
  html:root body.home-refined .home-hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  html:root body.home-refined .home-copy h1 { font-size: clamp(34px, 7.5vw, 48px) !important; }
  html:root body.home-refined .home-copy { padding-top: 0 !important; }
  html:root body.home-refined .home-copy h1 { margin-top: 16px !important; }
  html:root body.home-refined .home-copy > p { margin-top: 20px !important; font-size: 15px !important; }
  html:root body.home-refined .home-actions { display: flex !important; flex-wrap: wrap !important; }
  html:root body.home-refined .home-actions :is(a,button) { width: auto !important; flex: 0 1 auto !important; }
  html:root body.home-refined .home-feature.sc-salary-preview { padding: 22px !important; width: 100% !important; max-width: 540px !important; box-sizing: border-box; }
  .home-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: none; margin-top: 28px; }
  .home-shortcuts > p { grid-column: 1 / -1; margin-bottom: -6px; }
  .home-shortcuts a { grid-template-columns: 1fr; align-content: start; padding-top: 8px; }
  .home-shortcuts svg { display: none; }
}
@media (max-width: 480px) {
  .home-shortcuts { grid-template-columns: 1fr; gap: 0; }
  .home-shortcuts > p { margin-bottom: 4px; }
  .home-shortcuts a { grid-template-columns: 32px 1fr; padding-block: 12px; }
  .home-shortcuts svg { display: block; }
}
@media (max-width: 560px) {
  html:root body.home-refined #main-content > .home-hero {
    padding: 24px 0 32px !important;
    background: #edf3ed !important;
  }
  html[data-theme="dark"]:root body.home-refined #main-content > .home-hero {
    background: #14271f !important;
  }
  html:root body.home-refined .home-hero-grid { gap: 24px !important; }
  html:root body.home-refined .home-copy h1 {
    max-width: 12ch !important;
    margin-top: 12px !important;
    font-size: clamp(32px, 9.2vw, 40px) !important;
    line-height: 1.08 !important;
  }
  html:root body.home-refined .home-copy > p { margin-top: 14px !important; font-size: 15px !important; line-height: 1.55 !important; }
  html:root body.home-refined .home-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 18px !important;
  }
  html:root body.home-refined .home-actions :is(a,button) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 9px 10px !important;
    font-size: 12px !important;
    text-align: center !important;
  }
  html:root body.home-refined .home-shortcuts { margin-top: 20px !important; }
  html:root body.home-refined .home-shortcuts > p { margin-bottom: 0 !important; }
  html:root body.home-refined .home-shortcuts a { min-width: 0; padding-block: 10px !important; }
  html:root body.home-refined .home-shortcuts small { font-size: 12px !important; line-height: 1.4 !important; }
  html:root body.home-refined .home-feature.sc-salary-preview {
    padding: 18px !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 18px rgba(27, 65, 43, .045) !important;
  }
  html:root body.home-refined .sc-hero-presets { gap: 6px !important; }
  html:root body.home-refined .sc-preset-btn { padding-inline: 4px !important; font-size: 11px !important; }
}
@media (max-width: 360px) {
  html:root body.home-refined .home-actions { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) { html:root body.home-refined .sc-hero-bar > div, .home-shortcuts a { transition: none !important; } }
