:root {
  color-scheme: light;
  --ink: #1f2b3a;
  --muted: #657080;
  --paper: #fffdf7;
  --canvas: #f1eee5;
  --line: #c9c5b8;
  --navy: #26354a;
  --blue: #506985;
  --ochre: #d4a73d;
  --red: #b65442;
  --mint: #b9d0c0;
  --soft-blue: #dce4e8;
  font-family: Inter, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 64px;
  padding: 10px max(20px, calc((100vw - 1184px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(38, 53, 74, 0.2);
  background: rgba(241, 238, 229, 0.96);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
  border: 2px solid var(--navy);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ochre);
}
.brand-mark i:first-child {
  position: absolute;
  width: 14px;
  height: 14px;
  top: 6px;
  left: 8px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.brand-mark i:first-child::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 5px;
  left: 5px;
  top: 1px;
  background: var(--navy);
  transform: rotate(35deg);
  transform-origin: bottom;
}
.brand-mark i:last-child {
  position: absolute;
  width: 20px;
  height: 2px;
  left: 5px;
  bottom: 6px;
  background: var(--red);
}
nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
nav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: #536071;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
nav a:hover,
nav a:focus-visible {
  background: #e2ded3;
  color: var(--navy);
}
main {
  width: min(1184px, calc(100% - 40px));
  margin: 0 auto;
}
.hero-shell {
  min-height: 410px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  overflow: hidden;
  border: 1px solid #c3bfb3;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 22px 55px rgba(40, 48, 58, 0.09);
}
.hero-copy {
  z-index: 2;
  padding: 52px 43px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font:
    800 11px/1.4 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.hero-copy h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 3.25vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.lead {
  max-width: 33rem;
  margin: 20px 0 0;
  color: #596575;
  font-size: 15px;
  line-height: 1.9;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-facts span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}
.hero-facts b {
  margin-right: 4px;
  color: var(--ink);
  font:
    850 16px ui-monospace,
    monospace;
}
.wage-instrument {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-left: 1px solid #b9c2c8;
  background: #dce4e8;
}
.wage-instrument::before,
.wage-instrument::after {
  content: "";
  position: absolute;
  background: rgba(38, 53, 74, 0.14);
}
.wage-instrument::before {
  width: 1px;
  height: 100%;
  left: 44px;
  top: 0;
}
.wage-instrument::after {
  width: 100%;
  height: 1px;
  left: 0;
  top: 52px;
  box-shadow:
    0 54px 0 rgba(38, 53, 74, 0.09),
    0 108px 0 rgba(38, 53, 74, 0.09),
    0 162px 0 rgba(38, 53, 74, 0.09),
    0 216px 0 rgba(38, 53, 74, 0.09),
    0 270px 0 rgba(38, 53, 74, 0.09),
    0 324px 0 rgba(38, 53, 74, 0.09);
}
.clock-face {
  position: absolute;
  z-index: 2;
  width: 205px;
  height: 205px;
  left: 64px;
  top: 48px;
  border: 10px solid var(--navy);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 8px 10px 0 rgba(38, 53, 74, 0.16);
}
.clock-face i {
  position: absolute;
  width: 3px;
  height: 13px;
  left: 91px;
  top: 5px;
  background: var(--navy);
  transform-origin: 1px 87px;
}
.clock-face i:nth-child(2) {
  transform: rotate(30deg);
}
.clock-face i:nth-child(3) {
  transform: rotate(60deg);
}
.clock-face i:nth-child(4) {
  transform: rotate(90deg);
}
.clock-face i:nth-child(5) {
  transform: rotate(120deg);
}
.clock-face i:nth-child(6) {
  transform: rotate(150deg);
}
.clock-face i:nth-child(7) {
  transform: rotate(180deg);
}
.clock-face i:nth-child(8) {
  transform: rotate(210deg);
}
.clock-face i:nth-child(9) {
  transform: rotate(240deg);
}
.clock-face i:nth-child(10) {
  transform: rotate(270deg);
}
.clock-face i:nth-child(11) {
  transform: rotate(300deg);
}
.clock-face i:nth-child(12) {
  transform: rotate(330deg);
}
.clock-hand {
  position: absolute;
  z-index: 2;
  left: 91px;
  bottom: 92px;
  display: block;
  border-radius: 99px;
  background: var(--navy);
  transform-origin: bottom;
}
.clock-hand.hour {
  width: 5px;
  height: 54px;
  transform: rotate(55deg);
}
.clock-hand.minute {
  width: 3px;
  height: 70px;
  transform: rotate(148deg);
}
.clock-pin {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  left: 86px;
  top: 86px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--red);
}
.pay-ticket {
  position: absolute;
  z-index: 4;
  width: 285px;
  right: 54px;
  bottom: 38px;
  padding: 25px 25px 21px;
  border: 2px solid var(--navy);
  background: #fff9e9;
  box-shadow: 9px 10px 0 var(--ochre);
  transform: rotate(-1.5deg);
}
.ticket-notch {
  position: absolute;
  width: 15px;
  height: 15px;
  left: -9px;
  top: 50%;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--soft-blue);
}
.pay-ticket > p {
  margin: 0;
  color: var(--muted);
  font:
    800 10px ui-monospace,
    monospace;
  letter-spacing: 0.08em;
}
.pay-ticket > strong {
  display: block;
  margin-top: 7px;
  color: var(--navy);
  font:
    900 30px/1.2 ui-monospace,
    monospace;
  letter-spacing: -0.05em;
}
.pay-ticket > strong small {
  font-size: 11px;
  letter-spacing: 0;
}
.ticket-rule,
.punch-date {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px dashed #9f9a8e;
  color: #596575;
  font-size: 10px;
}
.ticket-rule span:last-child {
  color: var(--red);
  font-weight: 900;
}
.punch-date {
  margin-top: 10px;
  padding-top: 10px;
  color: var(--navy);
  font:
    800 9px ui-monospace,
    monospace;
}
.wage-ruler {
  position: absolute;
  z-index: 3;
  width: 245px;
  height: 34px;
  left: 46px;
  bottom: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--navy);
  color: var(--navy);
  font:
    850 9px ui-monospace,
    monospace;
  transform: rotate(2deg);
}
.wage-ruler i {
  width: 1px;
  height: 9px;
  align-self: flex-end;
  background: var(--navy);
}
.compare-panel,
.finder,
.results-section,
.boundary {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.compare-panel {
  padding: 28px;
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}
.compare-panel .eyebrow {
  color: #e2bd65;
}
.section-heading,
.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-heading h2,
.results-heading h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}
.compare-heading {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
}
.hours-field {
  display: grid;
  gap: 5px;
}
.hours-field > label {
  color: #bfc9d4;
  font-size: 10px;
  font-weight: 800;
}
.hours-field > div {
  height: 39px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #8291a4;
  border-radius: 8px;
  background: #fffdf7;
}
.hours-field input {
  width: 74px;
  height: 37px;
  padding: 0 6px 0 11px;
  border: 0;
  outline: 0;
  color: var(--navy);
  font-weight: 850;
}
.hours-field span {
  padding-right: 10px;
  color: #606b78;
  font-size: 10px;
  font-weight: 800;
}
.compare-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compare-actions > span {
  color: #bfc9d4;
  font:
    750 12px ui-monospace,
    monospace;
}
.compare-actions button {
  min-height: 39px;
  padding: 8px 13px;
  border: 1px solid #bfc9d4;
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}
.compare-actions button:disabled {
  cursor: default;
  opacity: 0.45;
}
.calculator-note {
  margin: 16px 0 0;
  color: #bac5d0;
  font-size: 10px;
  line-height: 1.6;
}
.empty-compare {
  margin-top: 16px;
  padding: 25px;
  border: 1px dashed #687b92;
  border-radius: 12px;
  color: #afbdcc;
  text-align: center;
  font-size: 13px;
}
.compare-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.compare-row {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 145px minmax(180px, 0.75fr) minmax(315px, 1.25fr) 30px;
  align-items: center;
  gap: 15px;
  border: 1px solid #4e627b;
  border-radius: 11px;
  background: #304159;
}
.compare-place span,
.compare-place strong {
  display: block;
}
.compare-place span {
  color: #aebbc9;
  font-size: 9px;
}
.compare-place strong {
  margin-top: 3px;
  font-size: 15px;
}
.compare-rate > strong {
  font:
    900 21px ui-monospace,
    monospace;
}
.compare-rate > span {
  margin-left: 4px;
  color: #bdc8d4;
  font-size: 9px;
}
.compare-rate .wage-bar {
  margin-top: 5px;
}
.compare-stats,
.rate-meta {
  margin: 0;
  display: grid;
}
.compare-stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.compare-stats div {
  min-width: 0;
  padding-left: 10px;
  border-left: 1px solid #60738a;
}
.compare-stats dt,
.rate-meta dt {
  color: #aebbc9;
  font-size: 9px;
}
.compare-stats dd,
.rate-meta dd {
  margin: 4px 0 0;
  font:
    800 11px ui-monospace,
    monospace;
}
.compare-stats dd small {
  color: #d6b65f;
  font-size: 9px;
}
.remove-button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 17px;
}
.wage-bar {
  width: 100%;
  height: 18px;
  display: block;
  overflow: visible;
}
.wage-track {
  fill: #8291a4;
}
.wage-fill {
  fill: var(--ochre);
}
.previous-marker {
  stroke: var(--red);
  stroke-width: 1.3;
}
.finder,
.results-section {
  padding: 28px;
}
#data-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(160px, 0.7fr) minmax(190px, 0.8fr);
  gap: 12px;
  margin-top: 22px;
}
.controls label {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.controls label > span {
  color: #5d6774;
  font-size: 11px;
  font-weight: 800;
}
.controls input,
.controls select {
  width: 100%;
  height: 47px;
  padding: 0 13px;
  border: 1px solid #bbb8ae;
  border-radius: 9px;
  background: #fffefa;
  color: var(--ink);
}
.controls input:focus,
.controls select:focus,
.hours-field > div:focus-within {
  outline: 3px solid rgba(212, 167, 61, 0.3);
  border-color: var(--ochre);
}
.results-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.results-heading b {
  color: var(--ink);
  font:
    850 19px ui-monospace,
    monospace;
}
.rate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 20px;
}
.rate-card {
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d0cdc4;
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 7px 18px rgba(39, 48, 61, 0.045);
}
.rate-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.rate-heading p {
  margin: 0;
  color: #737b85;
  font:
    750 9px ui-monospace,
    monospace;
}
.rate-heading h3 {
  margin: 5px 0 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}
.rate-heading > strong {
  flex: 0 0 auto;
  color: var(--navy);
  font:
    900 19px ui-monospace,
    monospace;
}
.rate-heading > strong small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  text-align: right;
}
.rate-card > .wage-bar {
  margin-top: 17px;
}
.scale-labels {
  margin-top: -1px;
  display: flex;
  justify-content: space-between;
  color: #8a8f95;
  font:
    700 8px ui-monospace,
    monospace;
}
.rate-meta {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 15px;
  border: 1px solid #dedbd2;
  background: #dedbd2;
}
.rate-meta div {
  min-width: 0;
  padding: 9px;
  background: #f5f1e8;
}
.rate-meta dt {
  color: #777e86;
}
.rate-meta dd {
  color: var(--navy);
  font-size: 10px;
  white-space: nowrap;
}
.rate-meta dd small {
  color: var(--red);
  font-size: 8px;
}
.compare-button {
  width: 100%;
  min-height: 39px;
  margin-top: 15px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  font-size: 11px;
  font-weight: 850;
}
.compare-button:hover:not(:disabled),
.compare-button.is-selected {
  background: var(--navy);
  color: white;
}
.compare-button:disabled {
  cursor: default;
  border-color: #c4c2bc;
  color: #939393;
}
.no-results {
  grid-column: 1 / -1;
  padding: 45px 20px;
  border: 1px dashed #c3c0b7;
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
}
.no-results > span {
  display: block;
  color: #c5c2b9;
  font:
    850 32px ui-monospace,
    monospace;
}
.no-results h3 {
  margin: 8px 0;
  color: var(--ink);
  font-size: 18px;
}
.boundary {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
  border-color: #cfbd8d;
  background: #eee2c2;
}
.boundary > span {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 7px;
  background: var(--ochre);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}
.boundary strong {
  display: block;
  font-size: 14px;
}
.boundary p {
  margin: 5px 0 0;
  color: #655f51;
  font-size: 12px;
  line-height: 1.75;
}
.text-page {
  padding-top: 27px;
}
.page-intro {
  padding: 43px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}
.page-intro > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.guide-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: 17px;
}
.guide-grid article,
.privacy-grid article,
.prose-section,
.note-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.guide-grid article {
  border-top: 7px solid var(--blue);
}
.guide-grid .guide-rate {
  border-top-color: var(--ochre);
}
.guide-grid .guide-dispatch {
  border-top-color: var(--blue);
}
.guide-grid .guide-industry {
  border-top-color: var(--red);
}
.guide-grid .guide-calc {
  border-top-color: var(--mint);
}
.guide-grid article > span {
  color: var(--red);
  font:
    800 10px ui-monospace,
    monospace;
  letter-spacing: 0.06em;
}
.guide-grid h2,
.privacy-grid h2,
.prose-section h2,
.note-panel h2 {
  margin: 10px 0 8px;
  font-size: 18px;
}
.guide-grid p,
.privacy-grid p,
.prose-section p,
.prose-section li,
.note-panel p {
  color: #5b6571;
  font-size: 13px;
  line-height: 1.85;
}
.note-panel,
.prose-section {
  margin-top: 13px;
}
.note-panel {
  border-left: 7px solid var(--red);
}
.note-panel a {
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}
.source-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}
.source-ledger > div {
  min-height: 145px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper);
}
.source-ledger span {
  color: var(--red);
  font:
    800 10px ui-monospace,
    monospace;
  letter-spacing: 0.08em;
}
.source-ledger strong {
  margin-top: 12px;
  font-size: 17px;
}
.source-ledger a {
  margin-top: auto;
  padding-top: 16px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}
footer {
  width: min(1184px, calc(100% - 40px));
  margin: 42px auto 0;
  padding: 28px 4px 36px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #c2beb3;
  color: var(--muted);
}
footer strong {
  color: var(--ink);
  font-size: 14px;
}
footer p {
  margin: 6px 0 0;
  font-size: 11px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.footer-links a {
  font-size: 11px;
  font-weight: 750;
}
@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }
  .wage-instrument {
    min-height: 370px;
    border-top: 1px solid #b9c2c8;
    border-left: 0;
  }
  .compare-row {
    grid-template-columns: 130px 1fr 30px;
  }
  .compare-stats {
    grid-column: 1 / 3;
  }
  .remove-button {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}
@media (max-width: 850px) {
  .rate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-heading {
    grid-template-columns: 1fr auto;
  }
  .hours-field {
    grid-column: 1;
  }
  .compare-actions {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}
@media (max-width: 650px) {
  .site-header {
    min-height: 58px;
    padding: 9px 14px;
    align-items: flex-start;
  }
  .brand > span:last-child {
    display: none;
  }
  nav a {
    padding: 8px 7px;
    font-size: 11px;
  }
  main,
  footer {
    width: min(100% - 22px, 1184px);
  }
  .hero-shell {
    margin-top: 15px;
    border-radius: 16px;
  }
  .hero-copy {
    padding: 32px 23px;
  }
  .hero-copy h1,
  .page-intro h1 {
    font-size: 1.9rem;
  }
  .lead {
    font-size: 13px;
  }
  .hero-facts {
    gap: 12px;
  }
  .wage-instrument {
    min-height: 390px;
  }
  .clock-face {
    width: 170px;
    height: 170px;
    left: 30px;
  }
  .clock-face i {
    left: 74px;
    transform-origin: 1px 70px;
  }
  .clock-hand {
    left: 74px;
    bottom: 75px;
  }
  .clock-hand.hour {
    height: 43px;
  }
  .clock-hand.minute {
    height: 58px;
  }
  .clock-pin {
    left: 69px;
    top: 69px;
  }
  .pay-ticket {
    width: min(260px, calc(100% - 46px));
    right: 24px;
    bottom: 37px;
  }
  .wage-ruler {
    width: 190px;
    left: 23px;
    bottom: 24px;
  }
  .compare-panel,
  .finder,
  .results-section {
    padding: 20px 17px;
    border-radius: 15px;
  }
  .section-heading,
  .compare-heading {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .compare-actions {
    align-self: stretch;
    justify-content: space-between;
  }
  .controls,
  .rate-grid,
  .guide-grid,
  .privacy-grid,
  .source-ledger {
    grid-template-columns: 1fr;
  }
  .compare-row {
    grid-template-columns: 1fr 28px;
    gap: 10px;
  }
  .compare-rate,
  .compare-stats {
    grid-column: 1 / 3;
  }
  .compare-stats {
    grid-template-columns: 1fr;
  }
  .compare-stats div {
    padding: 7px 0 0;
    border-top: 1px solid #60738a;
    border-left: 0;
  }
  .remove-button {
    grid-column: 2;
    grid-row: 1;
  }
  .page-intro {
    padding: 29px 22px;
  }
  .boundary {
    padding: 18px;
    grid-template-columns: 32px 1fr;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
