:root {
  --ink: #0a1b27;
  --muted: #526561;
  --faint: #74817d;
  --line: rgba(10, 27, 39, 0.16);
  --accent: #278f85;
  --accent-2: #6ed8cc;
  --accent-soft: #dceee9;
  --paper: #f3ecdf;
  --paper-strong: #fffdf7;
  --night: #071725;
}

html {
  color-scheme: light;
  background: var(--night);
}

body {
  color: var(--ink) !important;
  background:
    linear-gradient(rgba(255, 253, 247, 0.86), rgba(255, 253, 247, 0.86)),
    repeating-linear-gradient(0deg, rgba(10, 27, 39, 0.025) 0 1px, transparent 1px 5px),
    var(--paper) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body > main,
body > .wrap {
  width: min(920px, calc(100% - 40px));
  max-width: 920px !important;
  margin: 34px auto 54px;
  padding: clamp(30px, 5vw, 64px) clamp(22px, 6vw, 72px) !important;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid rgba(10, 27, 39, 0.12);
  border-top: 4px solid var(--accent);
  border-radius: 0 !important;
  box-shadow: 0 24px 70px rgba(7, 23, 37, 0.12);
}

body > .hero {
  padding: clamp(58px, 8vw, 96px) 22px clamp(54px, 7vw, 78px) !important;
  color: #f8f2e7;
  background:
    linear-gradient(90deg, rgba(110, 216, 204, 0.11) 1px, transparent 1px) 0 0 / 80px 100%,
    var(--night) !important;
  text-align: left !important;
}

body > .hero > * {
  width: min(920px, 100%);
  margin-left: auto !important;
  margin-right: auto !important;
}

body > .hero .eyebrow {
  color: var(--accent-2) !important;
  font-size: 12px !important;
  letter-spacing: 0.18em !important;
}

body > .hero h1 {
  max-width: 820px;
  color: #fffaf0;
}

body > .hero p {
  max-width: 760px !important;
  margin-left: auto !important;
  color: #c5d4d0 !important;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px !important;
  font-size: clamp(2.15rem, 5vw, 4rem) !important;
  line-height: 1.03 !important;
}

h2 {
  position: relative;
  margin-top: clamp(42px, 7vw, 68px) !important;
  padding-top: 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem) !important;
  line-height: 1.14 !important;
}

h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 3px;
  background: var(--accent);
}

h3 {
  font-size: 1.2rem !important;
  line-height: 1.25 !important;
}

p,
li,
label,
.lead {
  color: var(--ink);
}

.lead {
  max-width: 760px;
  color: var(--muted) !important;
  font-size: clamp(1.08rem, 2vw, 1.28rem) !important;
  line-height: 1.65;
}

a {
  color: #166e67;
  text-decoration-color: rgba(22, 110, 103, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0b514c;
  text-decoration-color: currentColor;
}

.card,
.cta,
.step,
.price,
.ok {
  color: var(--ink) !important;
  background: var(--paper-strong) !important;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
  box-shadow: 7px 7px 0 rgba(39, 143, 133, 0.08) !important;
}

.card,
.step {
  padding: 22px !important;
}

.card p,
.step span,
.price p,
.small,
.foot,
.cta p {
  color: var(--muted) !important;
}

.grid {
  gap: 18px !important;
}

.step .n {
  color: var(--night) !important;
  background: var(--accent-2) !important;
  border-radius: 2px !important;
}

.btn,
button.btn,
.cta .btn,
input[type="submit"] {
  color: #06171c !important;
  background: var(--accent-2) !important;
  border: 1px solid #4cbeb3 !important;
  border-radius: 3px !important;
  box-shadow: 4px 4px 0 rgba(7, 23, 37, 0.92) !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover,
button.btn:hover,
.cta .btn:hover,
input[type="submit"]:hover {
  color: #06171c !important;
  background: #8de7dd !important;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(7, 23, 37, 0.92) !important;
}

input,
select,
textarea {
  color: var(--ink) !important;
  background: #fffef9 !important;
  border: 1px solid rgba(10, 27, 39, 0.3) !important;
  border-radius: 3px !important;
}

input:focus,
select:focus,
textarea:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(39, 143, 133, 0.42) !important;
  outline-offset: 3px;
}

table {
  width: 100%;
  color: var(--ink) !important;
  background: var(--paper-strong);
  border-collapse: collapse;
}

th,
td {
  border-color: rgba(10, 27, 39, 0.18) !important;
}

th {
  color: var(--ink) !important;
  background: var(--accent-soft);
}

.foot {
  border-top-color: rgba(10, 27, 39, 0.2) !important;
}

.foot a {
  color: #166e67 !important;
}

@media (max-width: 720px) {
  body > main,
  body > .wrap {
    width: calc(100% - 20px);
    margin: 14px auto 28px;
    padding: 30px 20px 42px !important;
    box-shadow: 0 14px 38px rgba(7, 23, 37, 0.1);
  }

  body > .hero {
    padding: 52px 20px 58px !important;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.1rem) !important;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
