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

/* Shared canvas and breathing room for all three reference pages. */
:root {
  --page-canvas: #f5fafb;
  --page-gutter: clamp(20px, 3.5vw, 64px);
}
body {
  background: var(--page-canvas);
}
main {
  background: var(--page-canvas);
}
.introduction,
.illustrated,
.ot-section,
.ot-formula,
.ot-faq,
.lv-section,
.lv-understanding,
.lv-types,
.lv-regulations,
.lv-conclusion,
.lv-faq {
  background-color: transparent;
  background-image: none;
}
/* Feather only the background at the top and bottom of each photo. */
.section-art,
.ot-section .ot-art,
.lv-section .lv-art,
.regulations-content .lv-art,
.faq-heading .lv-art,
.lv-types > .lv-art {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 12px,
    #000 calc(100% - 20px),
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 12px,
    #000 calc(100% - 20px),
    transparent
  );
}
.lv-understanding:after,
.lv-conclusion:after,
.lv-formula:after {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 20px,
    #000 calc(100% - 16px),
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 20px,
    #000 calc(100% - 16px),
    transparent
  );
}
@media (min-width: 1101px) {
  main {
    width: calc(100% - var(--page-gutter) * 2);
    max-width: 1280px;
  }
  .ot-header {
    width: calc(100% - var(--page-gutter) * 2);
    padding-inline: 40px;
    gap: 20px;
  }
  .ot-header nav {
    gap: 22px;
  }
  .ot-brand {
    font-size: 22px;
  }
  .nav-wrap {
    width: calc(100% - var(--page-gutter) * 2);
  }
  .nav-cta {
    margin-left: 40px;
  }
  .hero,
  .ot-hero,
  .lv-hero {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 calc(100% - 48px),
      transparent
    );
    mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent);
  }
  .lv-hero h1 {
    font-size: clamp(46px, 4.25vw, 58px);
  }
  .lv-intro h2 {
    font-size: clamp(52px, 5vw, 70px);
  }
  .lv-intro .lv-copy > p {
    font-size: clamp(18px, 1.6vw, 22px);
  }
  .lv-annual h2 {
    font-size: clamp(48px, 4.8vw, 66px);
  }
  .lv-section .lv-copy > p {
    line-height: 1.48;
  }
  .lv-conclusion h2 {
    font-size: clamp(64px, 6.5vw, 90px);
  }
  .lv-conclusion {
    padding-inline: clamp(80px, 11vw, 160px);
  }
  .lv-conclusion blockquote {
    font-size: clamp(23px, 2.2vw, 29px);
  }
  .ot-hero h1 {
    font-size: clamp(46px, 4.2vw, 58px);
  }
  .ot-section h2 {
    font-size: clamp(39px, 3.8vw, 50px);
  }
  .ot-section .ot-copy > p {
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.48;
  }
  .intro-copy p {
    font-size: clamp(20px, 1.8vw, 24px);
  }
}
@media (min-width: 600px) and (max-width: 1100px) {
  main {
    width: calc(100% - 32px);
  }
  .ot-header {
    width: calc(100% - 32px);
  }
  .introduction,
  .illustrated,
  .ot-section,
  .lv-section {
    padding-inline: 24px;
  }
}
@media (max-width: 599px) {
  main {
    width: 100%;
  }
}
@media (min-width: 1101px) and (max-width: 1250px) {
  .ot-header {
    padding-inline: 28px;
  }
  .ot-brand {
    font-size: 19px;
  }
  .ot-logo {
    width: 40px;
    height: 40px;
  }
  .ot-header nav {
    gap: 16px;
    font-size: 12px;
  }
  .ot-header .ot-button {
    padding: 13px 17px;
  }
}
/* Preserve the width of scenic backgrounds instead of zooming with cover. */
.hero {
  background-size: 100% auto;
  background-position: center bottom;
}
.lv-understanding {
  padding-bottom: 170px;
}
.lv-understanding:after {
  height: auto;
  aspect-ratio: 1280 / 145;
  background-size: 100% 100%;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 12px,
    #000 calc(100% - 12px),
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 12px,
    #000 calc(100% - 12px),
    transparent
  );
}
@media (min-width: 1101px) {
  .intro-title :is(img, :where(svg.inline-icon)) {
    height: auto;
    object-fit: contain;
  }
  .section-art {
    right: 20px;
    width: calc(var(--art-width) - 20px);
  }
  .ot-section .ot-art {
    right: 20px;
    width: calc(var(--image-width, 45%) - 20px);
  }
  .lv-section .lv-art {
    right: 20px;
    width: calc(var(--art-width, 44%) - 20px);
  }
  .lv-understanding {
    min-height: 0;
  }
}
@media (max-width: 1100px) {
  .lv-understanding {
    padding-bottom: 120px;
  }
}
main {
  margin-inline: auto;
}
@media (min-width: 1101px) {
  .lv-hero p {
    max-width: 380px;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.5;
  }
}
@media (min-width: 1101px) {
  .lv-hero .hero-calculator {
    top: auto;
    bottom: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18px);
    mask-image: linear-gradient(to bottom, transparent, #000 18px);
  }
}

.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 42px;
  border-top: 1px solid #d8e8ec;
  color: #24516b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.site-footer > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer a:focus-visible {
  outline: 2px solid #008b92;
  outline-offset: 5px;
}

/* Let every hero reach the viewport edges, keeping the article canvas inset. */
main {
  width: 100%;
  max-width: none;
}
main > section {
  width: calc(100% - var(--page-gutter) * 2);
  max-width: 1280px;
  margin-inline: auto;
}
main > .hero,
main > .ot-hero,
main > .lv-hero {
  width: 100%;
  max-width: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero {
  box-shadow: none;
  clip-path: none;
}
@media (min-width: 1101px) {
  .hero {
    padding-inline: max(24px, calc((100% - 1280px) / 2 + 24px));
  }
  .ot-hero {
    padding-inline: max(78px, calc((100% - 1280px) / 2 + 78px));
  }
  .ot-hero .ot-copy {
    width: 60%;
    max-width: 675px;
  }
  .ot-hero .ot-art {
    width: min(46.875%, 600px);
    right: 0;
  }
  .lv-hero {
    padding-inline: max(52px, calc((100% - 1280px) / 2 + 52px));
  }
  .lv-hero .lv-copy {
    width: 62%;
    max-width: 730px;
  }
  .lv-hero .hero-calculator {
    width: 100%;
    right: 0;
  }
  .lv-hero {
    overflow: hidden;
  }
}
@media (min-width: 600px) and (max-width: 1100px) {
  main > section {
    width: calc(100% - 32px);
  }
  main > .hero,
  main > .ot-hero,
  main > .lv-hero {
    width: 100%;
  }
}
@media (max-width: 599px) {
  main > section {
    width: 100%;
  }
}

/* Shared typography and spacing across the three calculators. */
:root {
  --site-font: Arial, Helvetica, sans-serif;
  --site-h1: clamp(34px, 3.8vw, 52px);
  --site-h2: clamp(28px, 3vw, 40px);
  --site-h3: 21px;
  --site-body: 18px;
  --site-small: 16px;
  --site-space: 64px;
  --site-inset: 40px;
  --site-ink: #092b45;
  --site-text: #4b6082;
}
body {
  font-family: var(--site-font);
  color: var(--site-text);
}
:root body main h1 {
  font-size: var(--site-h1);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 700;
}
:root body main h2 {
  font-size: var(--site-h2);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--site-ink);
}
:root body main h3 {
  font-size: var(--site-h3);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 700;
}
:root body main h4 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}
:root body main :is(h1, h2, h3, h4) br {
  display: none;
}
:root body main p {
  font-size: var(--site-body);
  line-height: 1.65;
}
:root body main :is(.copy, .lv-copy, .ot-copy, .intro-copy) > p {
  font-size: var(--site-body);
  line-height: 1.65;
  margin: 20px 0 0;
  max-width: 65ch;
}
:root body main :is(.copy, .lv-copy, .ot-copy) > ul > li {
  font-size: var(--site-body);
  line-height: 1.65;
  margin-top: 10px;
}
:root
  body
  main
  :is(
    .card,
    .step,
    .formula,
    .formula-cards,
    .rates,
    .leave-types,
    .mohre-cards,
    .leave-steps,
    .ot-summary,
    .mini-grid,
    .download-steps,
    .understanding-cards,
    .regulations-content,
    .leave-note
  )
  p {
  font-size: var(--site-small);
  line-height: 1.6;
}
:root
  body
  main
  :is(
    .card,
    .step,
    .formula,
    .rates,
    .leave-types,
    .mohre-cards,
    .mini-grid,
    .download-steps
  )
  :is(h3, h4) {
  font-size: 18px;
  line-height: 1.35;
}
:root
  body
  main
  :is(
    .checks li,
    .reasons li,
    .ot-rule-list > li,
    .ot-how-steps > li,
    .ot-how-steps ul li
  ) {
  font-size: var(--site-small);
  line-height: 1.6;
}
:root body main > section {
  max-width: 1200px;
}
:root body main > :is(.hero, .ot-hero, .lv-hero) {
  max-width: none;
}
:root
  body
  main
  :is(
    .introduction,
    .illustrated,
    .ot-section,
    .ot-formula,
    .ot-faq,
    .lv-section,
    .lv-understanding,
    .lv-types,
    .lv-regulations,
    .lv-conclusion,
    .lv-faq
  ) {
  min-height: 0;
  padding: var(--site-space) var(--site-inset);
}
:root body main :is(.illustrated, .ot-section, .lv-section) {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  overflow: visible;
}
:root
  body
  main
  :is(.illustrated, .ot-section, .lv-section)
  > :is(.copy, .ot-copy, .lv-copy) {
  width: 100%;
  min-width: 0;
  order: 0;
}
:root
  body
  main
  :is(.illustrated, .ot-section, .lv-section)
  > :is(.section-art, .ot-art, .lv-art) {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  height: auto;
  order: 1;
  align-self: start;
  margin: 0;
}
:root body main .introduction {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
}
:root body main .intro-title :is(img, :where(svg.inline-icon)) {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin-top: 24px;
  object-fit: contain;
}
:root body main .intro-copy {
  padding: 0;
  margin: 0;
}
:root body main .intro-copy p:first-child {
  margin-top: 0;
}
:root body main .rule-cards {
  margin: 0 var(--site-inset) var(--site-space);
  gap: 24px;
}
:root body main > .ribbon {
  width: calc(100% - var(--page-gutter) * 2 - var(--site-inset) * 2);
  max-width: 1120px;
  margin: 0 auto;
}
:root body main :is(.formulas, .benefits) h2 {
  margin-left: 0;
}
:root body main .formula {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
}
:root body main .formula .equation {
  grid-column: 1 / -1;
}
:root body main .formula > :is(img, :where(svg.inline-icon)) {
  width: 64px;
  height: 64px;
  padding: 16px;
}
:root body main :is(.steps, .faq) h2 {
  text-align: left;
}
:root body main .lv-understanding h2 {
  margin: 0;
  white-space: normal;
  text-align: left;
}
:root body main .lv-understanding {
  padding-bottom: 160px;
}
:root body main .lv-formula:after {
  display: none;
}
:root body main .types-heading {
  margin: 0 0 32px;
  width: 65%;
}
:root body main .lv-types > .lv-art {
  top: 32px;
  right: var(--site-inset);
  width: 30%;
}
:root body main .panel-heading h3 {
  font-size: 24px;
}
:root body main .understanding-cards p {
  padding-left: 24px;
}
:root body main .regulations-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  min-height: 0;
  margin-top: 32px;
}
:root body main .regulations-content ul {
  width: 100%;
  min-width: 0;
}
:root body main .regulations-content .lv-art {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
}
:root body main .lv-conclusion {
  padding-bottom: 220px;
}
:root body main .lv-conclusion:after {
  height: 180px;
}
:root body main .lv-conclusion blockquote {
  font-size: var(--site-body);
  line-height: 1.65;
  margin: 32px 0 0 32px;
  max-width: 70ch;
}
:root body main .lv-conclusion blockquote:before {
  font-size: 64px;
  left: -52px;
  top: -12px;
}
:root body main .faq-heading {
  min-height: 0;
  padding: 0;
  margin-bottom: 32px;
}
:root body main .faq-heading .lv-art {
  display: none;
}
:root body main :is(.faq, .ot-faq, .lv-faq) h2 {
  text-align: left;
}
:root body main :is(.faq, .ot-faq, .lv-faq) summary {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 700;
}
:root body main :is(.faq, .ot-faq, .lv-faq) details p {
  font-size: var(--site-small);
  line-height: 1.65;
  margin-top: 12px;
}
:root body main .ot-formula > :is(h2, p, .ot-line) {
  margin-left: 0;
}
:root body main .ot-formula > p {
  max-width: 75ch;
  margin-top: 20px;
}
:root body main .formula-main h3 {
  color: white;
}
:root body main .hero {
  min-height: 0;
  padding-block: 80px;
  background-size: cover;
}
:root body main .hero-subtitle {
  font-size: var(--site-body);
  line-height: 1.65;
  max-width: 70ch;
  margin: 24px auto 0;
}
:root body main .disclaimer {
  font-size: 14px;
  line-height: 1.6;
}
:root body main .disclaimer br {
  display: none;
}
:root body main :is(.ot-hero, .lv-hero) {
  min-height: 680px;
  padding-block: 96px;
  padding-inline: max(var(--site-inset), calc((100% - 1120px) / 2));
}
:root body main :is(.ot-hero, .lv-hero) > :is(.ot-copy, .lv-copy) {
  width: 52%;
  max-width: 580px;
}
:root body main .lv-hero .hero-calculator {
  inset: 0;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(to right, transparent 30%, #000 62%);
  -webkit-mask-image: linear-gradient(to right, transparent 30%, #000 62%);
}
:root
  body
  main
  .lv-hero
  .hero-calculator
  :is(picture, :is(img, :where(svg.inline-icon))) {
  display: block;
  width: 100%;
  height: 100%;
}
:root body main .lv-hero .hero-calculator :is(img, :where(svg.inline-icon)) {
  object-fit: cover;
  object-position: right center;
}
:root body main .lv-hero p {
  max-width: 44ch;
}
:root body main .ot-hero .ot-art {
  width: min(43%, 600px);
  top: 50%;
  transform: translateY(-50%);
}
:root body :is(.button, .ot-button, .calculate-button) {
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}
:root body dialog h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
:root body dialog :is(input, select) {
  font-size: 16px;
  min-height: 48px;
}
:root body .site-footer {
  max-width: 1200px;
  padding: 32px var(--site-inset);
  font-family: var(--site-font);
}
@media (max-width: 1100px) {
  :root {
    --site-space: 48px;
    --site-inset: 28px;
    --site-body: 17px;
    --site-h1: clamp(34px, 4.2vw, 46px);
    --site-h2: clamp(28px, 3.4vw, 36px);
  }
  :root
    body
    main
    :is(
      .illustrated,
      .ot-section,
      .lv-section,
      .introduction,
      .regulations-content
    ) {
    gap: 28px;
  }
  :root body main :is(.ot-hero, .lv-hero) {
    min-height: 0;
    padding-block: 56px;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px;
  }
  :root body main :is(.ot-hero, .lv-hero) > :is(.ot-copy, .lv-copy) {
    width: 100%;
  }
  :root body main .ot-hero .ot-art {
    position: relative;
    width: 100%;
    top: auto;
    transform: none;
  }
  :root body main .lv-hero .hero-calculator {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
  :root
    body
    main
    .lv-hero
    .hero-calculator
    :is(picture, :is(img, :where(svg.inline-icon))) {
    height: auto;
  }
  :root body main .hero {
    padding-block: 56px;
  }
}
@media (max-width: 599px) {
  :root {
    --site-space: 40px;
    --site-inset: 22px;
    --site-body: 16px;
    --site-small: 15px;
    --site-h1: 34px;
    --site-h2: 28px;
    --site-h3: 20px;
  }
  :root
    body
    main
    :is(
      .illustrated,
      .ot-section,
      .lv-section,
      .introduction,
      .regulations-content
    ) {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  :root
    body
    main
    :is(.illustrated, .ot-section, .lv-section)
    > :is(.section-art, .ot-art, .lv-art) {
    max-width: 350px;
    align-self: center;
  }
  :root body main .intro-title :is(img, :where(svg.inline-icon)) {
    max-width: 350px;
    margin-inline: auto;
  }
  :root body main .types-heading {
    width: 100%;
  }
  :root body main .lv-types > .lv-art {
    display: none;
  }
  :root body main .lv-understanding {
    padding-bottom: 120px;
  }
  :root body main .understanding-cards p {
    padding-left: 16px;
  }
  :root body main .lv-conclusion {
    padding-bottom: 160px;
  }
  :root body main .lv-conclusion:after {
    height: 120px;
  }
  :root body main :is(.ot-hero, .lv-hero) {
    padding-block: 40px;
  }
  :root body main .ot-hero .ot-art {
    width: 100%;
    max-width: 350px;
  }
  :root body main .regulations-content .lv-art {
    max-width: 350px;
    align-self: center;
  }
  :root body main :is(.faq, .ot-faq, .lv-faq) summary {
    font-size: 17px;
  }
  :root body main .rule-cards {
    margin-bottom: 40px;
  }
}
:root body main h2 span {
  color: #008b92;
}
:root body main :is(.mini-grid, .download-steps) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
:root body main :is(.mini-grid, .download-steps) article {
  min-width: 0;
}
:root body main :is(.ot-faq, .lv-faq, .faq) details {
  min-height: 0;
  padding: 24px 32px 24px 88px;
  margin-top: 16px;
  border: 1px solid #d8e8ec;
  border-radius: 12px;
  background: #eff9fa;
}
:root
  body
  main
  :is(.ot-faq summary span, .faq-number, .faq-list summary > span) {
  inset: 24px auto auto 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #d9f4f4;
  color: #00636f;
  font-size: 18px;
}
:root body main .faq-list summary > span:before {
  display: none;
}
:root body main .ot-faq > .ot-line {
  margin: 20px 0 32px;
}
@media (max-width: 599px) {
  :root body main :is(.mini-grid, .download-steps) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  :root body main .download-steps article:after {
    display: none;
  }
  :root body main :is(.ot-faq, .lv-faq, .faq) details {
    padding: 20px 20px 20px 72px;
  }
  :root
    body
    main
    :is(.ot-faq summary span, .faq-number, .faq-list summary > span) {
    top: 20px;
    left: 16px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
:root body main .benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
:root body main .benefit-grid article {
  min-width: 0;
}
:root body main .benefit-grid h3 {
  overflow-wrap: anywhere;
}
:root body main :is(.result p, .form-error, .estimate-note) {
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 599px) {
  :root body main :is(.mini-grid, .download-steps, .benefit-grid) h3 {
    font-size: 16px;
  }
}

/* One site header and inline employee calculators. */
:root body .site-header {
  height: 72px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 20;
  background: #173f54;
  color: #fff;
  border: 0;
}
:root body .site-header .nav-wrap {
  width: calc(100% - 64px);
  max-width: 1200px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
:root body .site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    700 23px/1.2 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -0.6px;
  white-space: nowrap;
  color: white;
}
:root body .site-header .gratuity-logo {
  display: block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: none;
}
:root body .site-header .brand-name {
  color: white;
}
:root body .site-header .brand-name > span {
  color: #35d9e5;
}
:root body .site-header #navigation {
  display: flex;
  align-items: center;
  position: static;
  gap: 30px;
  height: 100%;
  padding: 0;
  font:
    400 14px/1.4 Arial,
    Helvetica,
    sans-serif;
  color: #fff;
  background: none;
  border: 0;
  box-shadow: none;
}
:root body .site-header #navigation > a {
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 0;
  border: 0;
  color: #e4f0f7;
  white-space: nowrap;
}
:root body .site-header #navigation > a:hover {
  color: #48e5ec;
}
:root body .site-header #navigation > a.active {
  color: #48e5ec;
  font-weight: 700;
}
:root body .site-header #navigation > a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #48e5ec;
}
:root body .site-header .menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid #ffffff30;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
:root body .site-header .menu-toggle :is(img, :where(svg.inline-icon)) {
  width: 22px;
  height: 22px;
  background: none;
  padding: 0;
}
:root body .site-header .menu-close {
  display: none;
}
:root body .site-header .menu-toggle[aria-expanded="true"] .menu-open {
  display: none;
}
:root body .site-header .menu-toggle[aria-expanded="true"] .menu-close {
  display: block;
}
:root body.tool-page main > .tool-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 24px 32px;
  background:
    linear-gradient(180deg, #214f62ed, #092f46d9),
    url("../images/gratuity/hero.webp?v=20260930141914") center/cover no-repeat;
}
:root body.tool-page main .tool-heading {
  max-width: 1000px;
  margin: 0 auto 28px;
  text-align: center;
}
:root body.tool-page main .tool-heading h1 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.035em;
}
:root body.tool-page main .tool-heading h1 span {
  color: #35d9e5;
}
:root body.tool-page main .tool-heading p {
  max-width: 72ch;
  margin: 14px auto 0;
  color: #bed8e8;
  font-size: 18px;
  line-height: 1.6;
}
:root body.tool-page main .tool-eyebrow {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: #7be8ed;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 12px;
}
:root body.tool-page main .tool-calculator {
  scroll-margin-top: 20px;
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  background: #f8fcff;
  border: 1px solid #d8e8ec;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 12px 40px #001b3630;
  color: #092b45;
}
:root body.tool-page main .tool-inputs {
  min-width: 0;
}
:root body.tool-page main .tool-inputs h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: #092b45;
  letter-spacing: -0.025em;
}
:root body.tool-page main .tool-inputs h2 :is(img, :where(svg.inline-icon)) {
  width: 26px;
  height: 30px;
  background: none;
}
:root body.tool-page main .tool-form-intro {
  margin: 10px 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #647b8f;
}
:root body.tool-page main .tool-inputs label {
  display: block;
  margin: 18px 0 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #092b45;
}
:root body.tool-page main .tool-money-input {
  position: relative;
}
:root body.tool-page main .tool-inputs :is(input, select) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  margin: 0;
  border: 1px solid #b5cddd;
  border-radius: 7px;
  background: white;
  color: #092b45;
  font:
    400 16px/1.4 Arial,
    Helvetica,
    sans-serif;
}
:root body.tool-page main .tool-money-input input {
  padding-right: 70px;
}
:root body.tool-page main .tool-money-input > span {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 60px;
  display: grid;
  place-items: center;
  border-radius: 0 6px 6px 0;
  background: #edf4f8;
  color: #526f85;
  font-size: 14px;
  pointer-events: none;
}
:root body.tool-page main .tool-inputs :is(input, select):focus {
  outline: 2px solid #009aa5;
  outline-offset: 2px;
  border-color: #009aa5;
}
:root body.tool-page main .tool-field-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
}
:root body.tool-page main .tool-field-row > div {
  min-width: 0;
}
:root body.tool-page main .tool-shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 12px;
  color: #647b8f;
}
:root body.tool-page main .tool-shortcuts button {
  border: 1px solid #cce3e9;
  border-radius: 6px;
  padding: 6px 10px;
  background: #edf7f9;
  color: #087a83;
  font-size: 12px;
  cursor: pointer;
}
:root body.tool-page main .tool-shortcuts button:hover {
  border-color: #009aa5;
  background: #def3f6;
}
:root body.tool-page main .tool-input-note {
  font-size: 12px;
  line-height: 1.6;
  color: #647b8f;
  margin: 14px 0 0;
}
:root body.tool-page main .tool-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 12px;
  margin-top: 24px;
  background: #009aa5;
  border: 0;
  border-radius: 7px;
  color: white;
  font:
    700 16px/1.4 Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
}
:root body.tool-page main .tool-submit:hover {
  background: #00838d;
}
:root body.tool-page main .tool-submit > span {
  font-size: 23px;
  line-height: 1;
}
:root body.tool-page main .tool-reset {
  display: block;
  margin: 10px 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #00838d;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
:root body.tool-page main .tool-reset:hover {
  text-decoration: underline;
}
:root body.tool-page main .tool-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-width: 0;
  padding-left: 32px;
  border-left: 1px solid #d7e6ec;
}
:root body.tool-page main .tool-output > :is(.tool-result, .tool-empty) {
  grid-area: 1 / 1;
}
:root body.tool-page main .tool-result[hidden] {
  display: block !important;
  visibility: hidden;
}
:root body.tool-page main .tool-result-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  margin-top: 4px;
}
:root body.tool-page main .tool-result-dot {
  width: 8px;
  height: 8px;
  background: #009aa5;
  border-radius: 50%;
}
:root body.tool-page main .tool-total {
  display: block;
  margin: 16px 0 6px;
  color: #009aa5;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
:root body.tool-page main .tool-result-caption {
  margin: 0;
  color: #647b8f;
  font-size: 13px;
  line-height: 1.5;
}
:root body.tool-page main .tool-breakdown {
  margin: 22px 0 0;
}
:root body.tool-page main .tool-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #dce9ef;
  font-size: 13px;
  line-height: 1.5;
}
:root body.tool-page main .tool-breakdown dt {
  color: #647b8f;
}
:root body.tool-page main .tool-breakdown dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}
:root body.tool-page main .tool-formula {
  margin-top: 20px;
  padding: 14px 16px;
  background: #e8f5f7;
  border-radius: 8px;
}
:root body.tool-page main .tool-formula > span {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: #497588;
  margin-bottom: 6px;
}
:root body.tool-page main .tool-formula > strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #092b45;
}
:root body.tool-page main .tool-formula p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #497588;
  overflow-wrap: anywhere;
}
:root body.tool-page main .tool-estimate-note {
  font-size: 11px;
  line-height: 1.5;
  margin: 16px 0 0;
  text-align: center;
  color: #7991a3;
}
:root body.tool-page main .tool-empty {
  display: none;
  align-self: center;
  padding: 28px 12px;
  text-align: center;
}
:root
  body.tool-page
  main
  .tool-calculator:has(.tool-result[hidden])
  .tool-empty {
  display: block;
}
:root body.tool-page main .tool-empty :is(img, :where(svg.inline-icon)) {
  width: 40px;
  height: 44px;
  margin: 0 auto 18px;
  background: transparent;
  opacity: 0.5;
}
:root body.tool-page main .tool-empty h2 {
  font-size: 19px;
  line-height: 1.4;
}
:root body.tool-page main .tool-empty p {
  font-size: 14px;
  line-height: 1.6;
  color: #647b8f;
  margin-top: 12px;
}
:root body.tool-page main .tool-disclaimer {
  max-width: 880px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #bdd4e2;
}
@media (max-width: 1100px) {
  :root body .site-header .menu-toggle {
    display: grid;
    place-items: center;
  }
  :root body .site-header #navigation {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: #173f54;
    box-shadow: 0 12px 24px #001c3430;
  }
  :root body .site-header #navigation.open {
    display: flex;
  }
  :root body .site-header #navigation > a {
    padding: 14px 8px;
  }
  :root body .site-header #navigation > a.active:after {
    display: none;
  }
}
@media (max-width: 767px) {
  :root body.tool-page main .tool-calculator {
    max-width: 560px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
  }
  :root body.tool-page main .tool-output {
    border-left: 0;
    border-top: 1px solid #d7e6ec;
    padding: 24px 0 0;
  }
  :root body.tool-page main .tool-inputs h2 {
    justify-content: center;
    text-align: center;
    font-size: 22px;
  }
  :root body.tool-page main .tool-inputs h2 :is(img, :where(svg.inline-icon)) {
    display: none;
  }
}
@media (max-width: 599px) {
  :root body .site-header {
    height: 64px;
  }
  :root body .site-header .nav-wrap {
    width: calc(100% - 36px);
    gap: 12px;
  }
  :root body .site-header .brand {
    font-size: 20px;
    gap: 10px;
  }
  :root body .site-header .gratuity-logo {
    width: 40px;
    height: 40px;
  }
  :root body .site-header #navigation {
    top: 64px;
  }
  :root body.tool-page main > .tool-hero {
    padding: 28px 16px;
  }
  :root body.tool-page main .tool-heading {
    margin-bottom: 24px;
  }
  :root body.tool-page main .tool-heading h1 {
    font-size: 30px;
  }
  :root body.tool-page main .tool-heading p {
    font-size: 16px;
  }
  :root body.tool-page main .tool-calculator {
    padding: 22px 18px;
  }
  :root body.tool-page main .tool-form-intro {
    text-align: center;
  }
  :root body.tool-page main .tool-field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  :root body.tool-page main .tool-total {
    font-size: 32px;
  }
}
:root body .site-header a {
  text-decoration: none;
}
:root body.tool-page main .tool-output #ot-result {
  display: block;
  margin: 16px 0 6px;
  color: #009aa5;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  text-align: left;
}
@media (max-width: 599px) {
  :root body.tool-page main .tool-output #ot-result {
    font-size: 32px;
  }
}
/* Compact interactive result charts. */
:root body.tool-page main .tool-graph {
  position: relative;
}
:root body.tool-page main .tool-donut {
  width: 180px;
  height: 180px;
  margin: 16px auto 10px;
  display: grid;
  place-items: center;
}
:root body.tool-page main .tool-donut-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
:root body.tool-page main .tool-chart-track {
  stroke: #dce9ef;
}
:root body.tool-page main .tool-chart-segment {
  cursor: pointer;
  stroke: #f8fcff;
  stroke-width: 1;
  transform-box: view-box;
  transform-origin: 50% 50%;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}
:root body.tool-page main .tool-chart-base {
  fill: #009aa5;
}
:root body.tool-page main .tool-chart-premium {
  fill: #7c98ff;
}
:root body.tool-page main .tool-chart-segment.is-active {
  transform: translate(var(--shift-x), var(--shift-y)) scale(1.025);
  filter: brightness(1.1) drop-shadow(0 2px 3px #092b4530);
}
:root body.tool-page main .tool-chart-segment:focus-visible {
  outline: none;
  stroke: #092b45;
  stroke-width: 2;
}
:root body.tool-page main .tool-donut-center {
  position: relative;
  pointer-events: none;
  text-align: center;
}
:root body.tool-page main .tool-output .tool-donut #ot-result {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-align: center;
  color: #092b45;
}
:root body.tool-page main .tool-donut-center > span {
  display: block;
  margin-top: 5px;
  color: #647b8f;
  font-size: 9px;
  line-height: 1.5;
}
:root body.tool-page main .tool-chart-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 12px;
}
:root body.tool-page main .tool-chart-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
:root body.tool-page main .tool-chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #009aa5;
}
:root body.tool-page main .tool-chart-legend > span + span i {
  background: #7c98ff;
}
:root body.tool-page main .tool-chart-tooltip {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  padding: 7px 9px;
  border-radius: 6px;
  background: #092b45;
  color: white;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 3px 12px #092b4530;
}
:root body.tool-page main .tool-leave-chart {
  margin-top: 16px;
}
:root body.tool-page main .tool-chart-heading {
  font-size: 11px;
  color: #647b8f;
  line-height: 1.4;
}
:root body.tool-page main .tool-line-chart {
  display: block;
  width: 100%;
  height: 160px;
  overflow: visible;
}
:root body.tool-page main .tool-chart-grid {
  fill: none;
  stroke: #dce9ef;
  stroke-width: 1;
}
:root body.tool-page main .tool-leave-area {
  fill: #009aa51a;
}
:root body.tool-page main .tool-leave-line {
  fill: none;
  stroke: #009aa5;
  stroke-width: 3;
  stroke-linecap: round;
}
:root body.tool-page main .tool-chart-axis {
  font:
    10px Arial,
    Helvetica,
    sans-serif;
  fill: #647b8f;
}
:root body.tool-page main .tool-chart-point {
  cursor: pointer;
}
:root body.tool-page main .tool-point-hit {
  fill: transparent;
}
:root body.tool-page main .tool-point-dot {
  fill: #009aa5;
  stroke: #f8fcff;
  stroke-width: 2;
  transition: r 180ms ease;
}
:root body.tool-page main .tool-chart-point.is-active .tool-point-dot {
  r: 7px;
  fill: #7c98ff;
}
:root body.tool-page main .tool-chart-point:focus-visible {
  outline: none;
}
:root body.tool-page main .tool-chart-point:focus-visible .tool-point-dot {
  stroke: #092b45;
}
:root
  body.tool-page
  main
  .tool-graph.is-drawing
  :is(.tool-chart-segment, .tool-chart-point) {
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  :root body.tool-page main :is(.tool-chart-segment, .tool-point-dot) {
    transition: none;
  }
}
:root body.tool-page main .tool-donut-center {
  width: 72%;
}
:root
  body.tool-page
  main
  .tool-calculator:has(.tool-result[hidden])
  .tool-inputs
  .tool-formula
  p {
  visibility: hidden;
}
/* Shared skyline footer. */
:root body footer.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 64px 32px 0;
  border: 0;
  background: #0d3d53 url("../images/footer-background.webp?v=20260930141914")
    center bottom / cover no-repeat;
  color: #bdd8e9;
  font:
    400 16px/1.6 Arial,
    Helvetica,
    sans-serif;
}
:root body .site-footer .footer-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 92px;
}
:root body .site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
:root body .site-footer .footer-brand :is(img, :where(svg.inline-icon)) {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  padding: 0;
  background: none;
}
:root body .site-footer .footer-brand > span > span {
  color: #16e1eb;
}
:root body .site-footer .footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 26px 0 0 10px;
}
:root body .site-footer .footer-socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #bdd8e9;
  border-radius: 4px;
}
:root body .site-footer .footer-socials svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}
:root body .site-footer .footer-socials a:hover {
  color: #16e1eb;
}
:root body .site-footer .footer-links {
  display: block;
  position: static;
  height: auto;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font: inherit;
  color: inherit;
}
:root body .site-footer .footer-links .footer-label {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 20px;
  color: #fff;
}
:root body .site-footer .footer-links ul {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
:root body .site-footer .footer-links li {
  margin: 0;
  padding: 0;
  font: inherit;
}
:root body .site-footer .footer-links a {
  display: inline;
  position: static;
  border: 0;
  padding: 0;
  color: #bdd8e9;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  white-space: normal;
}
:root body .site-footer .footer-links a:hover {
  color: #16e1eb;
  text-decoration: underline;
}
:root body .site-footer .footer-bottom {
  display: block;
  max-width: 1200px;
  margin: auto;
  padding: 24px 0 28px;
  border-top: 1px solid #91b7cc55;
  text-align: center;
}
:root body .site-footer .footer-bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #bdd8e9;
}
:root body .site-footer a:focus-visible {
  outline: 2px solid #16e1eb;
  outline-offset: 5px;
}
/* Factual site information linked from the footer. */
:root body.information-page {
  margin: 0;
  background: #f5fafb;
  color: #4b6082;
  font-family: Arial, Helvetica, sans-serif;
}
:root body.information-page .information-main {
  padding: 56px 24px;
  max-width: none;
  width: 100%;
  margin: 0;
}
:root body.information-page .information-card {
  max-width: 880px;
  margin: auto;
  padding: 40px;
  border: 1px solid #d8e8ec;
  border-radius: 12px;
  background: #fff;
}
:root body.information-page .information-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #00838c;
  margin: 0 0 12px;
}
:root body.information-page main h1 {
  font-size: 40px;
  line-height: 1.2;
  color: #092b45;
  margin: 0;
}
:root body.information-page .information-intro {
  font-size: 18px;
  line-height: 1.6;
  margin: 18px 0 32px;
}
:root body.information-page main h2 {
  font-size: 22px;
  line-height: 1.35;
  color: #092b45;
  margin: 32px 0 12px;
}
:root body.information-page main p {
  font-size: 16px;
  line-height: 1.75;
}
:root body.information-page main a {
  color: #00838c;
  text-underline-offset: 3px;
}
@media (max-width: 1100px) {
  :root body .site-footer .footer-content {
    gap: 40px;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  :root body .site-footer .footer-brand {
    font-size: 24px;
    gap: 12px;
    white-space: normal;
  }
  :root body .site-footer .footer-brand :is(img, :where(svg.inline-icon)) {
    width: 52px;
    height: 52px;
  }
}
@media (max-width: 767px) {
  :root body footer.site-footer {
    padding: 40px 24px 0;
    background-size: auto 100%;
  }
  :root body .site-footer .footer-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px 24px;
    padding-bottom: 48px;
  }
  :root body .site-footer .footer-identity {
    grid-column: 1 / -1;
  }
  :root body .site-footer .footer-brand {
    font-size: 26px;
    white-space: nowrap;
  }
  :root body .site-footer .footer-socials {
    margin-top: 20px;
    gap: 20px;
  }
  :root body .site-footer .footer-links .footer-label {
    font-size: 20px;
    margin-bottom: 16px;
  }
  :root body .site-footer .footer-links a {
    font-size: 15px;
  }
  :root body .site-footer .footer-bottom {
    padding: 20px 0 24px;
  }
  :root body .site-footer .footer-bottom p {
    font-size: 12px;
  }
  :root body.information-page .information-main {
    padding: 32px 16px;
  }
  :root body.information-page .information-card {
    padding: 24px;
  }
  :root body.information-page main h1 {
    font-size: 30px;
  }
}
@media (max-width: 359px) {
  :root body .site-footer .footer-brand {
    font-size: 23px;
  }
}
@media (max-width: 359px) {
  :root body .site-header .brand {
    font-size: 18px;
    gap: 8px;
  }
  :root body .site-header .gratuity-logo {
    width: 32px;
    height: 32px;
  }
}
:root body .site-header .menu-toggle {
  flex-shrink: 0;
}
/* Local contact demo and shared publication dates. */
:root body .contact-form {
  margin: 28px 0 36px;
}
:root body .contact-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
:root body .contact-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  min-width: 0;
}
:root body .contact-field label {
  font-size: 14px;
  font-weight: 700;
  color: #092b45;
}
:root body .contact-field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #bdd3df;
  border-radius: 7px;
  background: #fff;
  color: #092b45;
  font:
    16px/1.5 Arial,
    Helvetica,
    sans-serif;
}
:root body .contact-field textarea {
  resize: vertical;
}
:root body .contact-field :is(input, select, textarea):focus {
  outline: 2px solid #009aa5;
  outline-offset: 2px;
}
:root body .contact-submit {
  display: inline-block;
  border: 0;
  border-radius: 7px;
  padding: 13px 24px;
  background: #008e99;
  color: #fff;
  font:
    700 16px/1.5 Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
  text-decoration: none;
}
:root body .contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
:root body .contact-status {
  padding: 16px;
  background: #e4f7f5;
  border-radius: 7px;
  color: #086a66;
}
:root body .form-note {
  font-size: 14px;
  color: #4b6082;
}
:root body .error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
}
:root body .page-dates {
  margin: 0;
  padding: 20px 24px;
  text-align: center;
  color: #4b6082;
  font-size: 12px;
  line-height: 1.8;
}
:root body .site-footer .copy-page-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: none;
  color: #bdd8e9;
  font: inherit;
  cursor: pointer;
}
:root body .site-footer .copy-page-link:hover {
  color: #16e1eb;
}
:root body .site-footer .copy-link-status {
  font-size: 12px;
  overflow-wrap: anywhere;
}
:root body .site-footer .footer-socials {
  flex-wrap: wrap;
}
@media (max-width: 599px) {
  :root body .contact-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

svg.inline-icon {
  flex-shrink: 0;
}
:root body .rule-cards > .card {
  min-width: 0;
}
:root body .card-heading h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}
:root body .mini-grid > article {
  min-width: 0;
  overflow-wrap: anywhere;
}
/* Brand accents: navy text, teal actions and restrained falcon gold. */
:root {
  --brand-gold: #d4b477;
  --brand-gold-ink: #886326;
  --brand-gold-soft: #faf1df;
  --brand-gold-border: #e7d2aa;
}
:root body main :is(.card-number) {
  color: var(--brand-gold-ink);
}
:root
  body
  main
  :is(
    .step-icon span,
    .step-number,
    .ot-faq summary span,
    .faq-number,
    .faq-list summary > span
  ) {
  color: var(--brand-gold-ink);
  background: var(--brand-gold-soft);
  border-color: var(--brand-gold-border);
}
:root
  body
  main
  :is(
    .reasons,
    .card-heading,
    .step-icon,
    .benefit-grid,
    .download-steps,
    .mini-grid,
    .understanding-cards,
    .leave-types,
    .mohre-cards,
    .formula-cards,
    .ot-how-steps,
    .ot-rule-list,
    .ot-summary
  )
  svg.inline-icon {
  background: var(--brand-gold-soft);
}
:root body main :is(.ot-line, .lv-line) {
  background: var(--brand-gold);
}
:root body.tool-page main .tool-eyebrow {
  color: #ecd099;
}
:root body .site-footer .footer-bottom {
  border-top-color: #d4b47755;
}
:root body .information-card {
  border-top: 3px solid var(--brand-gold);
}
/* Shared final brand palette. */
:root {
  --brand-navy: #0b2239;
  --brand-heading: #132536;
  --brand-teal: #087f7b;
  --brand-teal-hover: #066b68;
  --brand-teal-soft: #e7f3f1;
}
:root body .site-header,
:root body .site-header #navigation {
  background: var(--brand-navy);
}
:root body footer.site-footer {
  background-color: var(--brand-navy);
  background-image:
    linear-gradient(#0b2239b8, #0b2239b8),
    url("../images/footer-background.webp?v=20260930141914");
}
:root body .site-header .brand-name > span,
:root body .site-footer .footer-brand > span > span {
  color: var(--brand-gold);
}
:root body .site-header #navigation > a.active {
  color: var(--brand-gold);
  border-bottom-color: var(--brand-gold);
}
:root body main :is(h1, h2, h3, h4) {
  color: var(--brand-heading);
}
:root body.home-reference main .hero h1,
:root body.tool-page main .tool-heading h1 {
  color: #fff;
}
:root body.home-reference main .hero h1 span,
:root body.tool-page main .tool-heading h1 span {
  color: var(--brand-gold);
}
:root body.home-reference .calculator .button,
:root body.tool-page main .tool-submit,
:root body :is(.contact-submit, .report-button, .ot-button, .calculate-button) {
  background: var(--brand-teal);
  color: #fff;
}
:root body.home-reference .calculator .button:hover,
:root body.tool-page main .tool-submit:hover,
:root
  body
  :is(.contact-submit, .report-button, .ot-button, .calculate-button):hover {
  background: var(--brand-teal-hover);
}
:root body.home-reference .total-estimate strong,
:root body.home-reference .reset-button,
:root body.tool-page main :is(.tool-total, .tool-reset),
:root body .information-eyebrow {
  color: var(--brand-teal);
}
:root body.home-reference .total-estimate {
  background: var(--brand-teal-soft);
  border-top-color: var(--brand-teal);
}
:root body.home-reference .service-bar,
:root body.tool-page main .tool-service {
  background: var(--brand-teal-soft);
}
:root body.home-reference .segment-first,
:root body.tool-page main :is(.tool-chart-base, .tool-point-dot) {
  fill: var(--brand-teal);
}
:root body.home-reference .segment-after,
:root body.tool-page main .tool-chart-premium {
  fill: var(--brand-gold);
}
:root body.home-reference .result-breakdown i,
:root body.tool-page main :is(.tool-result-dot, .tool-chart-legend i) {
  background: var(--brand-teal);
}
:root body.home-reference .result-breakdown > div + div i,
:root body.tool-page main .tool-chart-legend > span + span i {
  background: var(--brand-gold);
}
:root body.tool-page main .tool-leave-line {
  stroke: var(--brand-teal);
}
:root body.tool-page main .tool-leave-area {
  fill: #087f7b1a;
}
:root body.tool-page main .tool-chart-point.is-active .tool-point-dot {
  fill: var(--brand-gold);
}
:root body main :is(h2, h3, h4):not(.formula-main *, .leave-formula h3) {
  color: var(--brand-heading) !important;
}
:root body main :is(h2, h3, h4) span {
  color: inherit;
}
:root body main .formula-main h3,
:root body main .leave-formula h3 {
  color: #fff;
}
/* White titles and wordmarks; soft blue secondary donut segments. */
:root body.home-reference main .hero h1 span,
:root body.tool-page main .tool-heading h1 span,
:root body .site-header .brand-name > span,
:root body .site-footer .footer-brand > span > span {
  color: #fff;
}
:root body.home-reference .segment-after,
:root body.tool-page main .tool-chart-premium {
  fill: #8bb8d0;
}
:root body.home-reference .result-breakdown > div + div i,
:root body.tool-page main .tool-chart-legend > span + span i {
  background: #8bb8d0;
}
/* Reserve gold for the falcon; use blue and teal for interface accents. */
:root {
  --brand-gold: #8bb8d0;
  --brand-gold-ink: #132536;
  --brand-gold-soft: #edf5f8;
  --brand-gold-border: #c8dde8;
}
:root body.tool-page main .tool-eyebrow {
  color: #8bb8d0;
}
:root body .site-footer .footer-bottom {
  border-top-color: #8bb8d055;
}
:root body .site-header #navigation > a.active {
  color: #fff;
  border-bottom-color: #8bb8d0;
}
:root body main svg.inline-icon:not(.gratuity-logo) [fill="#a16b13"] {
  fill: #087f7b;
}
/* Navigation links use text color without borders or underlines. */
:root body .site-header #navigation > a,
:root body .site-header #navigation > a.active,
:root body .site-header #navigation > a:hover {
  border: 0;
  box-shadow: none;
  text-decoration: none;
}
:root body .site-header #navigation > a.active {
  color: #8bb8d0;
}
:root body .site-header #navigation > a::after,
:root body .site-header #navigation > a::before {
  display: none;
}

/* Missing document section uses the existing leave-page spacing and cards. */
:root body main .lv-holidays {
  display: block;
}
:root body main .lv-holidays .lv-copy {
  width: 100%;
  max-width: none;
}
:root body main .holiday-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
:root body main .holiday-cards li {
  padding: 20px;
  margin: 0;
  border: 1px solid #d8e8ec;
  border-radius: 10px;
  background: #eff9fa;
  color: #132536;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 767px) {
  :root body main .holiday-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Compact leave calculator while retaining touch-friendly controls. */
:root body.tool-page main .leave-calculator {
  padding: 24px;
  gap: 26px;
}
:root body.tool-page main .leave-calculator .tool-inputs {
  align-self: start;
}
:root body.tool-page main .leave-calculator .tool-output {
  padding-left: 26px;
}
:root body.tool-page main .leave-calculator .tool-form-intro {
  margin: 8px 0 14px;
}
:root body.tool-page main .leave-calculator .tool-inputs label {
  margin-top: 14px;
}
:root body.tool-page main .leave-calculator .tool-formula {
  margin-top: 14px;
  padding: 10px 14px;
}
:root body.tool-page main .leave-calculator .tool-formula p {
  margin: 4px 0 0;
}
:root body.tool-page main .leave-calculator .tool-submit {
  margin-top: 16px;
}
:root body.tool-page main .leave-calculator .tool-total {
  margin: 10px 0 4px;
}
:root body.tool-page main .leave-calculator .tool-leave-chart {
  margin-top: 10px;
}
:root body.tool-page main .leave-calculator .tool-line-chart {
  height: 132px;
}
:root body.tool-page main .leave-calculator .tool-breakdown {
  margin-top: 10px;
}
:root body.tool-page main .leave-calculator .tool-breakdown > div {
  padding: 9px 0;
}
:root body.tool-page main .leave-calculator .tool-estimate-note {
  margin-top: 10px;
}
@media (max-width: 767px) {
  :root body.tool-page main .leave-calculator {
    padding: 20px 18px;
    gap: 20px;
  }
  :root body.tool-page main .leave-calculator .tool-output {
    padding: 20px 0 0;
  }
}
/* Compact copyright area without a divider. */
:root body .site-footer .footer-content {
  padding-bottom: 28px;
}
:root body .site-footer .footer-bottom {
  border: 0;
  padding: 12px 0 24px;
}
@media (max-width: 767px) {
  :root body .site-footer .footer-content {
    padding-bottom: 20px;
  }
  :root body .site-footer .footer-bottom {
    padding: 10px 0 22px;
  }
}

:root body.home-reference main p.result-title {
  font-weight: 700;
  line-height: 1.2;
  color: #132536;
}

:root body .scroll-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #087f7b;
  color: white;
  box-shadow: 0 3px 12px #0b223933;
  cursor: pointer;
}
:root body .scroll-top[hidden] { display: none; }
:root body .scroll-top:hover { background: #066b68; }
:root body .scroll-top:focus-visible { outline: 3px solid #8bb8d0; outline-offset: 3px; }
@media (max-width: 767px) {
  :root body .scroll-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}
