/* =========================================================
   JOB NUMBERS
   Shared site styles
   ========================================================= */


/* ---------------------------------------------------------
   VARIABLES
   --------------------------------------------------------- */

:root {
  --jn-blue: #168ff2;
  --jn-blue-dark: #0874cc;

  --jn-red: #e00000;

  --jn-text: #222222;
  --jn-muted: #666666;
  --jn-soft: #f7f8fa;
  --jn-border: #dddddd;
  --jn-border-dark: #c8c8c8;

  --jn-page: #ffffff;
  --jn-background: #292929;

  --jn-radius: 10px;
  --jn-radius-large: 18px;

  --jn-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------------
   RESET / GLOBAL
   --------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;

  font-family: "Roboto Condensed", Arial, sans-serif;

  color: var(--jn-text);
  background: var(--jn-background);
}

body {
  margin: 0;
  padding: 0;

  min-height: 100vh;

  font-family: "Roboto Condensed", Arial, sans-serif;

  color: var(--jn-text);
  background: var(--jn-background);
}

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

a {
  color: inherit;
}


/* =========================================================
   HOMEPAGE
   ========================================================= */

.jn-home {
  width: calc(100% - 40px);
  max-width: 1040px;

  margin: 24px auto;

  background: var(--jn-page);

  border-radius: 30px;

  overflow: hidden;

  box-shadow: var(--jn-shadow);
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.jn-home-hero {
  padding: 50px 70px 56px;

  text-align: center;
}

.jn-home-logo {
  display: block;

  width: 100%;
  max-width: 760px;
  height: auto;

  margin: 0 auto 28px;
}

.jn-home-intro {
  max-width: 720px;

  margin: 0 auto;
}

.jn-home-intro h1 {
  margin: 0 0 14px;

  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
}

.jn-home-intro p {
  margin: 0 0 16px;

  color: var(--jn-muted);

  font-size: 20px;
  line-height: 1.5;
}

.jn-home-intro strong {
  display: block;

  margin-bottom: 30px;

  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
}


/* ---------------------------------------------------------
   PRIMARY CTA
   --------------------------------------------------------- */

.jn-primary-cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 230px;

  padding: 16px 28px;

  border-radius: 6px;

  background: var(--jn-blue);

  color: #ffffff;

  text-decoration: none;

  font-size: 18px;
  line-height: 1;
  font-weight: 800;

  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.jn-primary-cta:hover {
  background: var(--jn-blue-dark);

  transform: translateY(-1px);
}

.jn-cta-note {
  margin: 12px 0 0;

  color: var(--jn-muted);

  font-size: 15px;
  line-height: 1.4;
}


/* ---------------------------------------------------------
   HOMEPAGE SECTIONS
   --------------------------------------------------------- */

.jn-home-section {
  margin: 0 70px;

  padding: 55px 0;

  border-top: 1px solid var(--jn-border-dark);
}

.jn-section-heading {
  margin-bottom: 30px;
}

.jn-section-heading > span {
  display: block;

  margin-bottom: 8px;

  color: var(--jn-blue);

  font-size: 14px;
  line-height: 1;
  font-weight: 800;

  letter-spacing: 0.08em;
}

.jn-section-heading h2 {
  margin: 0 0 8px;

  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.jn-section-heading p {
  margin: 0;

  color: var(--jn-muted);

  font-size: 18px;
  line-height: 1.5;
}


/* ---------------------------------------------------------
   CALCULATOR GRID
   --------------------------------------------------------- */

.jn-calculator-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.jn-calculator-card {
  display: flex;
  flex-direction: column;

  min-height: 260px;

  padding: 26px;

  border: 1px solid var(--jn-border);

  border-radius: var(--jn-radius);

  background: #ffffff;

  text-decoration: none;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

a.jn-calculator-card:hover {
  border-color: var(--jn-blue);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);

  transform: translateY(-2px);
}

.jn-calculator-card-featured {
  border: 2px solid var(--jn-blue);

  background: #f8fcff;
}

.jn-card-label {
  display: block;

  margin-bottom: 16px;

  color: var(--jn-blue);

  font-size: 14px;
  line-height: 1;
  font-weight: 800;

  letter-spacing: 0.05em;
}

.jn-calculator-card-featured .jn-card-label {
  color: var(--jn-red);
}

.jn-calculator-card h3 {
  margin: 0 0 12px;

  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.jn-calculator-card p {
  margin: 0 0 22px;

  color: var(--jn-muted);

  font-size: 17px;
  line-height: 1.5;
}

.jn-card-link {
  display: block;

  margin-top: auto;

  color: var(--jn-blue);

  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.jn-card-coming {
  display: block;

  margin-top: auto;

  color: #888888;

  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}


/* ---------------------------------------------------------
   ABOUT
   --------------------------------------------------------- */

.jn-about-copy {
  max-width: 760px;
}

.jn-about-copy p {
  margin: 0 0 18px;

  color: var(--jn-muted);

  font-size: 18px;
  line-height: 1.6;
}

.jn-about-copy strong {
  display: block;

  margin-top: 24px;

  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
}


/* ---------------------------------------------------------
   FEEDBACK
   --------------------------------------------------------- */

.jn-feedback {
  padding-bottom: 55px;
}

.jn-feedback .jn-section-heading {
  max-width: 720px;
}

.jn-feedback-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 16px 28px;

  border-radius: 6px;

  background: var(--jn-blue);

  color: #ffffff;

  text-decoration: none;

  font-size: 17px;
  line-height: 1;
  font-weight: 800;

  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.jn-feedback-button:hover {
  background: var(--jn-blue-dark);

  transform: translateY(-1px);
}


/* ---------------------------------------------------------
   HOMEPAGE FOOTER
   --------------------------------------------------------- */

.jn-home-footer {
  display: flex;
  flex-direction: column;

  align-items: center;

  padding: 42px 40px 48px;

  border-top: 1px solid var(--jn-border-dark);

  text-align: center;
}

.jn-footer-brand {
  margin-bottom: 4px;

  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.jn-footer-tagline {
  color: var(--jn-muted);

  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.jn-footer-origin {
  margin-top: 24px;
}

.jn-footer-origin p {
  margin: 4px 0;

  color: var(--jn-muted);

  font-size: 14px;
  line-height: 1.4;
}

.jn-footer-origin strong {
  color: var(--jn-blue);

  font-weight: 800;
}

.jn-footer-disclaimer {
  max-width: 700px;

  margin: 26px auto 0;

  color: var(--jn-muted);

  font-size: 13px;
  line-height: 1.5;
}

.jn-footer-links {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin-top: 18px;

  font-size: 14px;
}

.jn-footer-links a {
  color: var(--jn-blue);

  text-decoration: none;

  font-weight: 700;
}

.jn-footer-links a:hover {
  text-decoration: underline;
}

.jn-footer-links span {
  color: #aaaaaa;
}


/* =========================================================
   STANDARD INTERNAL PAGE
   ========================================================= */

.jn-page {
  width: calc(100% - 40px);
  max-width: 900px;

  margin: 24px auto;

  padding: 38px 50px 45px;

  background: #ffffff;

  border-radius: 24px;

  box-shadow: var(--jn-shadow);
}

.jn-topbar {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 36px;
  padding-bottom: 18px;

  border-bottom: 1px solid var(--jn-border);
}

.jn-brand {
  color: var(--jn-text);

  text-decoration: none;

  font-size: 21px;
  line-height: 1;
  font-weight: 800;
}

.jn-brand:hover {
  color: var(--jn-blue);
}

.jn-tagline {
  color: var(--jn-muted);

  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.jn-footer {
  margin-top: 45px;
  padding-top: 22px;

  border-top: 1px solid var(--jn-border);

  color: var(--jn-muted);

  text-align: center;

  font-size: 14px;
}


/* =========================================================
   QUOTE CHECKER
   ========================================================= */

#quote-checker {
  width: 100%;

  margin: 0 auto;

  font-family: "Roboto Condensed", Arial, sans-serif;

  color: var(--jn-text);
}

#quote-checker > h1 {
  margin: 0 0 8px;

  font-size: 31px;
  line-height: 1.15;
  font-weight: 800;
}

.qc-intro {
  margin: 0 0 32px;

  color: var(--jn-muted);

  font-size: 18px;
  line-height: 1.5;
}

.qc-form-content h2 {
  margin: 30px 0 14px;

  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.qc-form-content h2:first-child {
  margin-top: 0;
}

.qc-helper {
  margin: -5px 0 18px;

  color: var(--jn-muted);

  font-size: 14px;
  line-height: 1.45;
}

.qc-row {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;
}

.qc-field {
  margin-bottom: 16px;
}

.qc-field label {
  display: block;

  margin-bottom: 6px;

  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.qc-field input,
.qc-field select {
  display: block;

  width: 100%;
  min-height: 46px;

  padding: 10px 12px;

  border: 1px solid #cccccc;
  border-radius: 6px;

  outline: none;

  background: #ffffff;
  color: var(--jn-text);

  font-size: 16px;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.qc-field input:focus,
.qc-field select:focus {
  border-color: var(--jn-blue);

  box-shadow: 0 0 0 3px rgba(22, 143, 242, 0.12);
}

.qc-field-note {
  display: block;

  margin-top: 6px;

  color: var(--jn-muted);

  font-size: 12px;
  line-height: 1.35;
}

.qc-gst {
  margin: 14px 0 24px;
  padding: 18px;

  border: 1px solid var(--jn-border);
  border-radius: 6px;

  background: var(--jn-soft);
}

.qc-gst label {
  display: flex;

  align-items: center;

  gap: 9px;

  margin: 0;

  font-size: 15px;
  font-weight: 700;
}

.qc-gst label + label {
  margin-top: 12px;
}

.qc-gst input {
  width: 17px;
  height: 17px;

  margin: 0;
}

#qc-calculate {
  width: 100%;
  min-height: 52px;

  margin-top: 4px;

  border: 0;
  border-radius: 6px;

  background: var(--jn-blue);
  color: #ffffff;

  cursor: pointer;

  font-size: 18px;
  line-height: 1;
  font-weight: 800;

  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

#qc-calculate:hover {
  background: var(--jn-blue-dark);

  transform: translateY(-1px);
}

#qc-error {
  margin-top: 12px;

  color: #b00020;

  font-size: 14px;
  font-weight: 700;
}

#qc-results {
  margin-top: 34px;
}

.qc-hero {
  padding: 28px 24px;

  border: 3px solid var(--jn-blue);
  border-radius: 8px;

  text-align: center;
}

.qc-eyebrow {
  display: block;

  margin-bottom: 8px;

  color: var(--jn-muted);

  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.qc-hero strong {
  display: block;

  color: var(--jn-text);

  font-size: 48px;
  line-height: 1;
  font-weight: 800;
}

.qc-hero p {
  margin: 12px 0 0;

  color: var(--jn-muted);

  font-size: 16px;
  line-height: 1.4;
}

#qc-verdict {
  margin: 18px 0;
  padding: 15px 18px;

  border-radius: 6px;

  background: var(--jn-soft);

  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.qc-target-box {
  margin: 18px 0;
  padding: 22px;

  border: 1px solid var(--jn-border);
  border-radius: 8px;

  background: var(--jn-soft);

  text-align: center;
}

.qc-target-box > span {
  display: block;

  margin-bottom: 6px;

  color: var(--jn-muted);

  font-size: 14px;
  font-weight: 700;
}

.qc-target-box strong {
  display: block;

  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
}

.qc-target-box p {
  margin: 8px 0 0;

  color: var(--jn-muted);

  font-size: 14px;
}

.qc-result-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;

  margin-top: 18px;
}

.qc-result {
  padding: 18px;

  border: 1px solid var(--jn-border);
  border-radius: 6px;

  background: #ffffff;
}

.qc-result span {
  display: block;

  margin-bottom: 6px;

  color: var(--jn-muted);

  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.qc-result strong {
  display: block;

  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

#qc-gst-result {
  margin: 16px 0 0;

  color: var(--jn-muted);

  font-size: 14px;
  line-height: 1.4;
}

#qc-regulatory {
  margin-top: 28px;
  padding: 22px;

  border: 2px solid #c79000;
  border-radius: 8px;

  background: #fffdf4;
}

#qc-regulatory.qc-reg-strong {
  border-color: #b74a4a;

  background: #fff8f8;
}

#qc-reg-title {
  margin: 0 0 10px;

  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}

#qc-reg-message {
  margin: 0 0 15px;

  color: #444444;

  font-size: 15px;
  line-height: 1.5;
}

#qc-reg-link {
  display: inline-block;

  color: var(--jn-blue);

  font-size: 15px;
  font-weight: 800;
}

.qc-reg-disclaimer {
  margin-top: 20px;
  padding-top: 16px;

  border-top: 1px solid rgba(0, 0, 0, 0.12);

  color: var(--jn-muted);

  font-size: 12px;
  line-height: 1.5;
}

.qc-reviewed {
  margin: 10px 0 0;

  color: #888888;

  font-size: 11px;
}

.qc-actions {
  margin-top: 30px;
  padding-top: 22px;

  border-top: 1px solid var(--jn-border);
}

.qc-actions-title {
  margin: 0 0 12px;

  font-size: 15px;
  font-weight: 800;
}

.qc-action-row {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;
}

.qc-secondary-button {
  min-height: 46px;

  padding: 11px 16px;

  border: 2px solid var(--jn-blue);
  border-radius: 6px;

  background: #ffffff;
  color: var(--jn-blue);

  cursor: pointer;

  font-size: 14px;
  font-weight: 800;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.qc-secondary-button:hover {
  background: var(--jn-blue);

  color: #ffffff;
}

#qc-share-status {
  min-height: 18px;

  margin: 10px 0 0;

  color: var(--jn-muted);

  font-size: 13px;
}


/* =========================================================
   HOURLY RATE CALCULATOR
   ========================================================= */

#hourly-rate-calculator {
  width: 100%;

  margin: 0 auto;

  color: var(--jn-text);
}

#hourly-rate-calculator > h1 {
  margin: 0 0 8px;

  font-size: 31px;
  line-height: 1.15;
  font-weight: 800;
}

.hr-intro {
  margin: 0 0 32px;

  color: var(--jn-muted);

  font-size: 18px;
  line-height: 1.5;
}

#hourly-rate-calculator > h2 {
  margin: 32px 0 8px;

  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.hr-helper {
  margin: 0 0 16px;

  color: var(--jn-muted);

  font-size: 14px;
  line-height: 1.45;
}

.hr-row {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;
}

.hr-field {
  margin-bottom: 16px;
}

.hr-field label {
  display: block;

  margin-bottom: 7px;

  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.hr-field input {
  display: block;

  width: 100%;
  min-height: 46px;

  padding: 10px 12px;

  border: 1px solid #cccccc;
  border-radius: 6px;

  outline: none;

  background: #ffffff;
  color: var(--jn-text);

  font-size: 16px;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.hr-field input:focus {
  border-color: var(--jn-blue);

  box-shadow: 0 0 0 3px rgba(22, 143, 242, 0.12);
}

.hr-field-note {
  display: block;

  margin-top: 6px;

  color: var(--jn-muted);

  font-size: 12px;
  line-height: 1.35;
}

.hr-info {
  margin: 2px 0 8px;
  padding: 14px 16px;

  border-left: 4px solid var(--jn-blue);
  border-radius: 0 8px 8px 0;

  background: var(--jn-soft);

  font-size: 13px;
  line-height: 1.5;
}

.hr-info strong {
  font-weight: 800;
}

#hr-calculate {
  width: 100%;
  min-height: 52px;

  margin-top: 8px;

  border: 0;
  border-radius: 6px;

  background: var(--jn-blue);
  color: #ffffff;

  cursor: pointer;

  font-size: 18px;
  line-height: 1;
  font-weight: 800;

  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

#hr-calculate:hover {
  background: var(--jn-blue-dark);

  transform: translateY(-1px);
}

#hr-error {
  margin-top: 12px;

  color: #b00020;

  font-size: 14px;
  font-weight: 700;
}

#hr-results {
  margin-top: 34px;
}


/* ---------------------------------------------------------
   HOURLY RATE HERO
   --------------------------------------------------------- */

.hr-hero {
  margin-bottom: 14px;
  padding: 28px 24px;

  border: 3px solid var(--jn-blue);
  border-radius: 8px;

  text-align: center;
}

.hr-eyebrow {
  display: block;

  margin-bottom: 8px;

  color: var(--jn-muted);

  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.hr-hero strong {
  display: block;

  margin-bottom: 8px;

  color: var(--jn-blue);

  font-size: 48px;
  line-height: 1;
  font-weight: 800;
}

.hr-hero p {
  margin: 0;

  color: var(--jn-muted);

  font-size: 16px;
  line-height: 1.4;
}


/* ---------------------------------------------------------
   HOURLY RATE RESULT GRID
   --------------------------------------------------------- */

.hr-result-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.hr-result {
  padding: 18px;

  border: 1px solid var(--jn-border);
  border-radius: 6px;

  background: #ffffff;
}

.hr-result span,
.hr-rate-box > span,
.hr-comparison span,
.hr-annual-gap span {
  display: block;

  margin-bottom: 6px;

  color: var(--jn-muted);

  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.hr-result strong {
  display: block;

  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}


/* ---------------------------------------------------------
   BASE RATE
   --------------------------------------------------------- */

.hr-rate-box {
  margin-top: 14px;
  padding: 20px;

  border: 1px solid var(--jn-border);
  border-radius: 8px;

  background: var(--jn-soft);
}

.hr-rate-box strong {
  display: block;

  margin-bottom: 6px;

  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.hr-rate-box p {
  margin: 0;

  color: var(--jn-muted);

  line-height: 1.45;
}


/* ---------------------------------------------------------
   REALITY CHECK RESULTS
   --------------------------------------------------------- */

#hr-reality {
  margin-top: 28px;
  padding-top: 24px;

  border-top: 1px solid var(--jn-border);
}

.hr-comparison {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.hr-comparison > div {
  padding: 18px;

  border: 1px solid var(--jn-border);
  border-radius: 6px;
}

.hr-comparison strong {
  display: block;

  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

#hr-gap-box {
  margin-top: 14px;
  padding: 22px;

  border: 2px solid #aaaaaa;
  border-radius: 8px;
}

#hr-gap-box.hr-gap-under {
  border-color: #b74a4a;

  background: #fff8f8;
}

#hr-gap-box.hr-gap-over {
  border-color: #2e8b57;

  background: #f7fff9;
}

#hr-gap-title {
  display: block;

  margin-bottom: 8px;

  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
}

#hr-gap-message {
  margin: 0 0 18px;

  color: var(--jn-muted);

  line-height: 1.5;
}

.hr-annual-gap {
  padding-top: 15px;

  border-top: 1px solid var(--jn-border);
}

.hr-annual-gap strong {
  display: block;

  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
}


/* ---------------------------------------------------------
   HOURLY RATE SHARE / PRINT
   --------------------------------------------------------- */

.hr-actions {
  margin-top: 30px;
  padding-top: 22px;

  border-top: 1px solid var(--jn-border);
}

.hr-actions-title {
  margin: 0 0 12px;

  font-size: 15px;
  font-weight: 800;
}

.hr-action-row {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;
}

.hr-secondary-button {
  min-height: 46px;

  padding: 11px 16px;

  border: 2px solid var(--jn-blue);
  border-radius: 6px;

  background: #ffffff;
  color: var(--jn-blue);

  cursor: pointer;

  font-size: 14px;
  font-weight: 800;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.hr-secondary-button:hover {
  background: var(--jn-blue);

  color: #ffffff;
}

#hr-share-status {
  min-height: 18px;

  margin: 10px 0 0;

  color: var(--jn-blue-dark);

  font-size: 13px;
  font-weight: 700;
}


/* ---------------------------------------------------------
   NEXT STEP
   --------------------------------------------------------- */

.hr-next-step {
  margin-top: 20px;
  padding: 20px;

  border-radius: 8px;

  background: var(--jn-soft);
}

.hr-next-step > strong {
  font-size: 20px;
  font-weight: 800;
}

.hr-next-step p {
  margin: 7px 0 14px;

  color: var(--jn-muted);

  line-height: 1.45;
}

.hr-next-step a {
  display: inline-block;

  padding: 12px 18px;

  border-radius: 6px;

  background: var(--jn-blue);
  color: #ffffff;

  text-decoration: none;

  font-weight: 800;
}

.hr-next-step a:hover {
  background: var(--jn-blue-dark);
}

.hr-disclaimer {
  margin-top: 16px;

  color: var(--jn-muted);

  font-size: 11px;
  line-height: 1.45;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .jn-home {
    width: calc(100% - 20px);

    margin: 10px auto;

    border-radius: 20px;
  }

  .jn-home-hero {
    padding: 28px 22px 38px;
  }

  .jn-home-logo {
    margin-bottom: 24px;
  }

  .jn-home-intro h1 {
    font-size: 29px;
  }

  .jn-home-intro p {
    font-size: 17px;
  }

  .jn-home-intro strong {
    margin-bottom: 25px;

    font-size: 16px;
  }

  .jn-primary-cta {
    width: 100%;

    min-width: 0;
  }

  .jn-home-section {
    margin: 0 22px;

    padding: 38px 0;
  }

  .jn-section-heading {
    margin-bottom: 22px;
  }

  .jn-section-heading h2 {
    font-size: 26px;
  }

  .jn-section-heading p {
    font-size: 16px;
  }

  .jn-calculator-grid {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .jn-calculator-card {
    min-height: 0;

    padding: 22px;
  }

  .jn-calculator-card h3 {
    font-size: 22px;
  }

  .jn-calculator-card p {
    font-size: 16px;
  }

  .jn-about-copy p {
    font-size: 16px;
  }

  .jn-about-copy strong {
    font-size: 20px;
  }

  .jn-feedback {
    padding-bottom: 40px;
  }

  .jn-feedback-button {
    width: 100%;
  }

  .jn-home-footer {
    padding: 36px 22px 40px;
  }

  .jn-footer-origin {
    margin-top: 22px;
  }

  .jn-footer-disclaimer {
    margin-top: 24px;

    font-size: 12px;
  }


  /* Internal pages */

  .jn-page {
    width: calc(100% - 20px);

    margin: 10px auto;

    padding: 25px 20px 32px;

    border-radius: 18px;
  }

  .jn-topbar {
    align-items: flex-start;

    margin-bottom: 28px;
  }

  .jn-brand {
    font-size: 19px;
  }

  .jn-tagline {
    max-width: 145px;

    text-align: right;

    font-size: 12px;
  }


  /* Quote Checker */

  #quote-checker > h1 {
    font-size: 28px;
  }

  .qc-intro {
    font-size: 16px;
  }

  .qc-row {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .qc-hero {
    padding: 24px 16px;
  }

  .qc-hero strong {
    font-size: 39px;
  }

  .qc-result-grid {
    grid-template-columns: 1fr;
  }

  .qc-action-row {
    grid-template-columns: 1fr;
  }


  /* Hourly Rate */

  #hourly-rate-calculator > h1 {
    font-size: 28px;
  }

  .hr-intro {
    font-size: 16px;
  }

  .hr-row {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .hr-hero {
    padding: 24px 16px;
  }

  .hr-hero strong {
    font-size: 39px;
  }

  .hr-result-grid {
    grid-template-columns: 1fr;
  }

  .hr-comparison {
    grid-template-columns: 1fr;
  }

  .hr-action-row {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 420px) {

  .jn-home {
    width: 100%;

    margin: 0;

    border-radius: 0;
  }

  .jn-home-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .jn-home-section {
    margin-left: 18px;
    margin-right: 18px;
  }

  .jn-home-intro h1 {
    font-size: 27px;
  }

  .jn-page {
    width: 100%;

    margin: 0;

    border-radius: 0;
  }

}