:root {
  --ink: #071b38;
  --green: #007e68;
  --text: #586a88;
  --pale: #e9f7f5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fcfefe;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
}
h1 {
  font-size: 60px;
  line-height: 1.01;
  letter-spacing: -1.8px;
  font-weight: 800;
}
h2 {
  font-size: 50px;
  line-height: 1.06;
  letter-spacing: -1.7px;
}
h1 span,
h2 span,
h3 span {
  color: var(--green);
}
p,
li {
  font-size: 21px;
  line-height: 1.38;
}
p + p {
  margin-top: 25px;
}
:is(img, :where(svg.inline-icon)) {
  display: block;
  max-width: 100%;
}
button,
input,
select {
  font: inherit;
}
button,
a,
summary {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #17b998;
  outline-offset: 4px;
}
.ot-header {
  height: 75px;
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: #fff;
  gap: 25px;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 18px #082d4910;
}
.ot-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
}
.ot-brand em {
  font-style: normal;
  color: #006a55;
}
.ot-logo {
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #20ca88, #005545);
  width: 51px;
  height: 51px;
  border-radius: 50%;
  margin-right: 6px;
}
.ot-logo .ot-icon {
  width: 35px;
  height: 35px;
  background: transparent;
  padding: 0;
  filter: brightness(0) invert(1);
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: #102346;
}
nav > a {
  position: relative;
}
nav > a.active:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--green);
  left: 0;
  right: 0;
  bottom: -14px;
}
.ot-button {
  background: #007259;
  border: 0;
  border-radius: 10px;
  color: white;
  padding: 15px 25px;
  font-weight: bold;
  white-space: nowrap;
}
.ot-button:hover {
  background: #005a47;
}
.ot-button span {
  padding-left: 12px;
  font-size: 25px;
  line-height: 10px;
}
.ot-menu {
  display: none;
}
main {
  max-width: 1280px;
  margin: auto;
}
.ot-hero {
  min-height: 646px;
  position: relative;
  overflow: hidden;
  padding: 122px 78px 90px;
  background: #f0fafc url("../images/overtime/sky.webp?v=20260930141914")
    center/cover no-repeat;
}
.ot-hero .ot-copy {
  width: 54%;
  position: relative;
  z-index: 1;
}
.ot-hero p {
  max-width: 455px;
  font-size: 20px;
  margin-top: 28px;
  line-height: 1.42;
}
.ot-art {
  position: absolute;
  right: 0;
  top: 0;
  width: var(--image-width, 45%);
  height: auto;
  pointer-events: none;
}
.ot-hero .ot-art {
  width: 46.875%;
}
.ot-section {
  position: relative;
  min-height: 670px;
  padding: 54px 56px 45px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #f4fafb);
}
.ot-copy {
  position: relative;
  z-index: 1;
  width: 59%;
}
.ot-line {
  height: 7px;
  width: 107px;
  background: linear-gradient(90deg, #8cd9d0, #d6efec);
  border-radius: 4px;
  margin: 24px 0 18px;
}
.ot-intro {
  min-height: 482px;
  padding-top: 102px;
  --image-width: 42.578%;
}
.ot-intro .ot-copy {
  width: 63%;
}
.ot-intro .ot-line {
  display: none;
}
.ot-intro p {
  margin-top: 16px;
}
.ot-what {
  --image-width: 44.14%;
}
.ot-what .ot-copy {
  width: 57%;
}
.ot-eligible {
  --image-width: 45.3125%;
  padding-top: 45px;
}
.ot-eligible .ot-copy {
  width: 60%;
}
.ot-eligible p {
  font-size: 20px;
}
.ot-copy ul {
  margin: 14px 0 0;
  padding-left: 28px;
}
.ot-copy li::marker {
  color: #04967d;
}
.ot-copy ul ul {
  margin: 4px 0;
}
.ot-eligible li {
  font-size: 19px;
  line-height: 1.35;
  margin-top: 4px;
}
.ot-when {
  --image-width: 48.4375%;
}
.ot-when .ot-copy {
  width: 58%;
}
.ot-formula {
  position: relative;
  padding: 47px 32px 24px;
  background: linear-gradient(150deg, #fff, #eaf8fa);
  overflow: hidden;
  min-height: 769px;
}
.ot-formula > h2,
.ot-formula > .ot-line,
.ot-formula > p {
  position: relative;
  z-index: 1;
  margin-left: 30px;
}
.ot-formula > h2 {
  font-size: 50px;
  max-width: 960px;
}
.ot-formula > .ot-line {
  margin-top: 14px;
  height: 4px;
  margin-bottom: 14px;
}
.ot-formula > p {
  font-size: 18px;
  max-width: 950px;
  line-height: 1.4;
}
.ot-formula > p + p {
  margin-top: 7px;
}
.formula-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 27.34%;
  height: auto;
}
.formula-cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin: 30px 0 20px;
}
.formula-cards article {
  padding: 25px 29px 20px;
  background: #ffffffdd;
  border: 1px solid #d2efef;
  border-radius: 22px;
  position: relative;
  min-height: 225px;
}
.ot-icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: #dff3f0;
  border-radius: 50%;
  padding: 16px;
  flex-shrink: 0;
}
.formula-cards .ot-icon {
  float: left;
  margin-right: 17px;
  width: 72px;
  height: 72px;
  padding: 18px;
  background: #d6f2ec;
}
.formula-cards h3 {
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 20px;
}
.formula-cards p {
  font-size: 19px;
  line-height: 1.3;
  clear: both;
  margin: 15px 0;
}
.formula-cards strong {
  background: #dff6f3;
  padding: 10px 8px;
  text-align: center;
  border-radius: 10px;
  display: block;
  font-size: 19px;
  color: #122d47;
}
.formula-cards .formula-main {
  background: linear-gradient(130deg, #0d415a, #002b36);
  border: 3px solid #b39a55;
  text-align: center;
  color: #80e6cc;
}
.formula-main .ot-icon {
  float: none;
  margin: -45px auto 12px;
  width: 95px;
  height: 95px;
  padding: 26px;
  background: #d8f4ec;
}
.formula-main h3 {
  font-size: 35px;
  color: white;
  margin-top: 15px;
  margin-bottom: 0;
}
.formula-main p {
  font-size: 23px;
  font-weight: bold;
  color: #76e2c8;
  line-height: 1.3;
  margin-top: 12px;
}
.rate-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #064755;
  color: white;
  border-radius: 13px 13px 0 0;
  padding: 12px 25px;
  font-size: 18px;
}
.rate-heading .ot-icon {
  width: 50px;
  height: 50px;
  padding: 13px;
}
.rates {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  border-radius: 0 0 18px 18px;
  background: #ffffffd9;
  padding: 12px 13px 20px;
}
.rates article {
  text-align: center;
  padding: 0 14px;
  border-right: 1px solid #d4ecef;
}
.rates article:last-child {
  border: 0;
}
.rates .ot-icon {
  margin: 0 auto 12px;
  width: 52px;
  height: 52px;
  padding: 14px;
}
.rates h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.rates p {
  font-size: 16px;
  line-height: 1.3;
  color: #283f5f;
}
.ot-how {
  min-height: 667px;
  --image-width: 53.59%;
  padding-top: 40px;
}
.ot-how .ot-copy {
  width: 58%;
}
.ot-how-steps {
  list-style: none;
  padding: 0 !important;
  margin-top: 24px !important;
}
.ot-how-steps > li {
  display: grid;
  grid-template-columns: 40px 56px 1fr;
  align-items: start;
  gap: 18px;
  margin-top: 23px;
  font-size: 18px;
  line-height: 1.4;
}
.ot-how-steps .ot-icon {
  width: 56px;
  height: 56px;
  padding: 14px;
}
.step-number {
  background: #d3eeea;
  border-radius: 50%;
  height: 40px;
  display: grid;
  place-items: center;
  color: #008776;
  font-weight: bold;
  font-size: 25px;
  margin-top: 6px;
}
.ot-how-steps ul {
  padding-left: 30px;
}
.ot-how-steps ul li {
  font-size: 18px;
  margin-top: 4px;
}
.ot-rules {
  min-height: 669px;
  --image-width: 40.234%;
  padding-top: 24px;
}
.ot-rules .ot-copy {
  width: 61%;
}
.ot-rules h2 {
  font-size: 45px;
}
.ot-rules .ot-line {
  margin: 13px 0;
}
.ot-rules p {
  font-size: 17px;
}
.ot-rule-list {
  list-style: none;
  padding: 0 !important;
}
.ot-rule-list > li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.42;
}
.ot-rule-list .ot-icon {
  width: 46px;
  height: 46px;
  padding: 12px;
}
.ot-rule-list > li > div {
  border-bottom: 1px solid #dfecef;
  padding-bottom: 7px;
}
.ot-rule-list > li:last-child > div {
  border: 0;
}
.ot-final {
  min-height: 667px;
  --image-width: 51.33%;
  padding-top: 65px;
}
.ot-final .ot-copy {
  width: 57%;
}
.ot-final h2 {
  font-size: 62px;
}
.ot-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  max-width: 615px;
}
.ot-summary article {
  text-align: center;
  border-right: 1px solid #bfe2e5;
  padding: 0 12px;
}
.ot-summary article:last-child {
  border: 0;
}
.ot-summary .ot-icon {
  width: 80px;
  height: 80px;
  padding: 22px;
  margin: auto auto 12px;
}
.ot-summary p {
  font-size: 18px;
  line-height: 1.25;
}
.ot-faq {
  padding: 23px 56px 35px;
  min-height: 827px;
  background: #fff;
}
.ot-faq h2 {
  text-align: center;
  font-size: 78px;
}
.ot-faq > .ot-line {
  margin: 14px auto 40px;
  width: 118px;
}
.ot-faq details {
  position: relative;
  padding: 22px 0 25px 118px;
  border-bottom: 1px solid #d3ebef;
}
.ot-faq details:last-child {
  border: 0;
}
.ot-faq summary {
  list-style: none;
  color: var(--ink);
  font-size: 27px;
  font-weight: bold;
  line-height: 1.2;
}
.ot-faq summary::-webkit-details-marker {
  display: none;
}
.ot-faq summary span {
  position: absolute;
  left: 0;
  top: 23px;
  color: #05716f;
  font-size: 38px;
  width: 88px;
  border-right: 2px solid #b6dcdf;
  padding: 6px 0;
}
.ot-faq details p {
  font-size: 21px;
  line-height: 1.4;
  margin-top: 10px;
}
dialog {
  width: 450px;
  max-width: calc(100% - 32px);
  border: 1px solid #bbded7;
  padding: 28px;
  border-radius: 18px;
  color: var(--text);
  box-shadow: 0 20px 100px #001a3555;
}
dialog::backdrop {
  background: #061d38aa;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 22px;
}
dialog form {
  position: relative;
}
.dialog-close {
  position: absolute;
  right: -12px;
  top: -20px;
  background: none;
  border: 0;
  font-size: 30px;
  color: #486779;
}
dialog label {
  display: block;
  color: var(--green);
  font-size: 14px;
  font-weight: bold;
  margin: 15px 0 7px;
}
dialog input,
dialog select {
  width: 100%;
  border: 1px solid #c6dfdd;
  border-radius: 6px;
  padding: 12px;
  background: #f7fbfb;
  min-width: 0;
  color: #24465b;
}
dialog .ot-button {
  width: 100%;
  margin-top: 20px;
}
#ot-result {
  display: block;
  font-size: 24px;
  color: var(--green);
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}
.estimate-note {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 15px;
}
@media (min-width: 600px) and (max-width: 1100px) {
  .ot-section,
  .ot-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 22px;
    padding: 40px 28px;
    min-height: 0;
  }
  .ot-section .ot-copy,
  .ot-hero .ot-copy {
    width: 100%;
    order: 0;
  }
  .ot-section .ot-art,
  .ot-hero .ot-art {
    position: relative;
    order: 1;
    width: 100%;
    height: auto;
    max-width: 360px;
    align-self: start;
    margin: 0;
  }
  .ot-hero h1 {
    font-size: clamp(30px, 4.5vw, 48px);
  }
  .ot-hero p {
    font-size: 17px;
  }
  .ot-section h2 {
    font-size: clamp(27px, 3.6vw, 38px);
  }
  .ot-section p {
    font-size: 16px;
  }
  .ot-eligible li {
    font-size: 15px;
  }
  .ot-how-steps > li {
    grid-template-columns: 28px 40px 1fr;
    gap: 10px;
    font-size: 15px;
  }
  .step-number {
    height: 28px;
    font-size: 18px;
  }
  .ot-how-steps .ot-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .ot-how-steps ul li {
    font-size: 15px;
  }
  .ot-rule-list > li {
    font-size: 14px;
    gap: 12px;
  }
  .ot-rule-list .ot-icon {
    width: 38px;
    height: 38px;
    padding: 10px;
  }
  .ot-summary p {
    font-size: 14px;
  }
  .ot-summary .ot-icon {
    width: 54px;
    height: 54px;
    padding: 14px;
  }
  .ot-formula {
    padding: 35px 28px;
    min-height: 0;
  }
  .ot-formula > h2 {
    font-size: 35px;
    margin-left: 0;
  }
  .ot-formula > .ot-line,
  .ot-formula > p {
    margin-left: 0;
  }
  .ot-formula > p {
    font-size: 16px;
    max-width: 75%;
  }
  .formula-cards {
    gap: 12px;
  }
  .formula-cards article {
    padding: 20px 15px;
    min-height: 0;
  }
  .formula-cards .ot-icon {
    float: none;
    margin: 0 auto 15px;
    width: 55px;
    height: 55px;
    padding: 15px;
  }
  .formula-cards h3 {
    font-size: 18px;
    text-align: center;
  }
  .formula-cards p {
    font-size: 15px;
  }
  .formula-cards strong {
    font-size: 15px;
  }
  .formula-main h3 {
    font-size: 25px;
  }
  .formula-main p {
    font-size: 18px;
  }
  .rates {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 10px;
  }
  .rates article {
    border: 0;
  }
  .rate-heading {
    font-size: 14px;
    padding: 12px 15px;
    gap: 15px;
  }
  .ot-faq {
    min-height: 0;
    padding: 35px 28px;
  }
  .ot-faq h2 {
    font-size: 58px;
  }
  .ot-faq summary {
    font-size: 20px;
  }
  .ot-faq details p {
    font-size: 16px;
  }
  .ot-faq details {
    padding-left: 75px;
  }
  .ot-faq summary span {
    font-size: 29px;
    width: 55px;
  }
}
@media (max-width: 1100px) {
  .ot-header {
    height: 70px;
    padding: 0 24px;
  }
  .ot-brand {
    font-size: 20px;
  }
  .ot-logo {
    width: 40px;
    height: 40px;
  }
  .ot-logo .ot-icon {
    width: 27px;
    height: 27px;
  }
  .ot-menu {
    display: block;
    padding: 8px;
    border: 1px solid #c7e5de;
    border-radius: 6px;
    background: #fff;
  }
  .ot-menu .ot-icon {
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border-radius: 0;
  }
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 15px 24px 22px;
    background: #fff;
    box-shadow: 0 12px 20px #00352b22;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  nav.open {
    display: flex;
  }
  nav > a {
    padding: 15px 0;
    border-bottom: 1px solid #e1efeb;
  }
  nav > a.active:after {
    display: none;
  }
  nav .ot-button {
    margin-top: 15px;
  }
}
@media (max-width: 599px) {
  .ot-header {
    padding: 0 16px;
  }
  .ot-brand {
    font-size: 16px;
    gap: 4px;
    letter-spacing: -0.6px;
  }
  .ot-logo {
    width: 34px;
    height: 34px;
    margin-right: 4px;
  }
  .ot-section,
  .ot-hero {
    display: flex;
    flex-direction: column;
    padding: 36px 22px 24px;
    min-height: 0;
  }
  .ot-section .ot-copy,
  .ot-hero .ot-copy {
    width: 100%;
    order: 0;
  }
  .ot-section .ot-art,
  .ot-hero .ot-art {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 350px;
    align-self: center;
    order: 1;
    margin-top: 25px;
    border-radius: 12px;
  }
  .ot-hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .ot-hero p {
    font-size: 17px;
    margin-top: 23px;
  }
  .ot-section h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .ot-section p,
  .ot-eligible li {
    font-size: 16px;
    line-height: 1.5;
  }
  .ot-line {
    height: 5px;
    width: 80px;
    margin-top: 18px;
  }
  .ot-copy ul {
    padding-left: 23px;
  }
  .ot-how-steps > li {
    grid-template-columns: 28px 40px 1fr;
    gap: 10px;
    font-size: 15px;
  }
  .ot-how-steps .ot-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .step-number {
    height: 28px;
    font-size: 18px;
  }
  .ot-how-steps ul li {
    font-size: 15px;
  }
  .ot-rule-list > li {
    font-size: 14px;
    gap: 12px;
    align-items: flex-start;
  }
  .ot-rule-list .ot-icon {
    width: 38px;
    height: 38px;
    padding: 10px;
  }
  .ot-summary .ot-icon {
    width: 58px;
    height: 58px;
    padding: 16px;
  }
  .ot-summary p {
    font-size: 14px;
    line-height: 1.35;
  }
  .ot-formula {
    padding: 35px 22px;
    min-height: 0;
  }
  .ot-formula > h2 {
    font-size: 31px;
    margin-left: 0;
    letter-spacing: -1px;
  }
  .ot-formula > .ot-line,
  .ot-formula > p {
    margin-left: 0;
  }
  .ot-formula > p {
    font-size: 16px;
  }
  .formula-art {
    display: none;
  }
  .formula-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
  }
  .formula-cards article {
    min-height: 0;
    padding: 24px;
  }
  .formula-cards h3 {
    font-size: 21px;
  }
  .formula-cards p {
    font-size: 17px;
  }
  .formula-main .ot-icon {
    margin: 0 auto 12px;
    width: 65px;
    height: 65px;
    padding: 18px;
  }
  .formula-main h3 {
    font-size: 29px;
  }
  .formula-main p {
    font-size: 22px;
  }
  .rate-heading {
    font-size: 13px;
    padding: 15px;
    gap: 12px;
  }
  .rate-heading .ot-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .rates {
    grid-template-columns: 1fr 1fr;
    gap: 22px 6px;
    padding: 20px 12px;
  }
  .rates article {
    padding: 0 7px;
    border: 0;
  }
  .rates article:last-child {
    grid-column: 1/-1;
    max-width: 260px;
    justify-self: center;
  }
  .rates h3,
  .rates p {
    font-size: 14px;
  }
  .ot-faq {
    padding: 30px 22px;
    min-height: 0;
  }
  .ot-faq h2 {
    font-size: 56px;
  }
  .ot-faq > .ot-line {
    margin-bottom: 23px;
  }
  .ot-faq details {
    padding: 20px 0 20px 56px;
  }
  .ot-faq summary {
    font-size: 18px;
    line-height: 1.3;
  }
  .ot-faq summary span {
    width: 41px;
    font-size: 24px;
    top: 18px;
  }
  .ot-faq details p {
    font-size: 15px;
    line-height: 1.5;
  }
  .ot-hero h1 br {
    display: none;
  }
  .ot-hero h1 span:before {
    content: " ";
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (min-width: 1101px) {
  .ot-hero .ot-copy {
    width: 60%;
  }
  .ot-hero h1 {
    font-size: 58px;
  }
}
