@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  --ink: #355872;
  --muted: #49677d;
  --sky: #9cd5ff;
  --paper: #f7f8f0;
  --orange: #dc663b;
  --line: #bdd2e2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 'DM Sans',
    sans-serif;
}
::selection {
  background: var(--sky);
  color: #19384d;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input {
  font: inherit;
}
a,
button,
input,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #28648e;
  outline-offset: 5px;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.13;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(3rem, 5.4vw, 5.7rem);
  font-weight: 600;
  margin: 0 0 28px;
}
h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 500;
  margin: 0 0 28px;
}
h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  font-weight: 650;
}
p {
  margin: 0 0 20px;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand img {
  border-radius: 10px;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav nav > a {
  text-decoration: none;
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--ink);
  color: white;
  padding: 15px 23px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #254359;
  transform: translateY(-2px);
}
.button.small {
  padding: 10px 16px;
  gap: 12px;
}
.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0;
}
.note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.lead {
  font-size: 18px;
  max-width: 470px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  padding: 85px 0 100px;
  align-items: center;
}
.hero em {
  font-style: normal;
  display: inline;
  background: linear-gradient(transparent 78%, #9cd5ff 78%, #9cd5ff 92%, transparent 92%);
}
.flow {
  height: 520px;
  position: relative;
  border-radius: 48% 48% 24px 24px;
  background: #e3f1fb;
  margin-left: 10px;
  isolation: isolate;
}
.paper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 18px 45px #35587212;
}
.bill {
  position: absolute;
  top: 32px;
  left: 18px;
  right: 65px;
  transform: rotate(-6deg);
}
.paper-head {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}
.dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.paper h2 {
  font-size: 23px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.paper p {
  font-size: 13px;
  margin-bottom: 16px;
}
.amount {
  font:
    500 38px Manrope,
    sans-serif;
  font-variant-numeric: tabular-nums;
}
.rule {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.lines i {
  display: block;
  width: 70%;
  height: 5px;
  background: #edf0f1;
  margin: 9px 0;
}
.lines i:nth-child(2) {
  width: 90%;
}
.split-stamp {
  position: absolute;
  z-index: 2;
  top: 217px;
  right: -10px;
  background: var(--ink);
  color: white;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 14px 25px #35587225;
  transform: rotate(3deg);
  animation: stamp 7s ease-in-out infinite;
}
.split-stamp span {
  display: block;
  font-size: 12px;
}
.split-stamp strong {
  font:
    600 29px Manrope,
    sans-serif;
  font-variant-numeric: tabular-nums;
}
.split-stamp svg {
  width: 22px;
  height: 22px;
  margin-left: 20px;
  stroke: var(--sky);
  fill: none;
  stroke-width: 2.5;
}
.draft {
  position: absolute;
  bottom: 23px;
  left: 55px;
  right: 8px;
  transform: rotate(3deg);
  animation: draft 7s ease-in-out infinite;
}
.status {
  font-size: 10px;
  background: #e4f3ff;
  border-radius: 20px;
  padding: 3px 9px;
  color: #355872;
  white-space: nowrap;
}
.draft-footer {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.motion-toggle {
  position: absolute;
  right: 0;
  bottom: -38px;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  cursor: pointer;
}
.paused *,
.offscreen * {
  animation-play-state: paused !important;
}
@keyframes draft {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}
@keyframes stamp {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(6px) rotate(0deg);
  }
}
.benefits {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 100px;
  padding: 95px 0;
  border-top: 1px solid var(--line);
}
.benefit-list article {
  display: flex;
  gap: 28px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.benefit-list article:last-child {
  margin: 0;
}
.benefit-list p {
  max-width: 490px;
  margin: 0;
}
.number {
  font-size: 13px;
  color: var(--muted);
  padding-top: 3px;
}
.demo-section {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 0;
}
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}
.demo-section .note {
  color: #c0d5e3;
  max-width: 330px;
}
.calculator {
  max-width: 340px;
  margin-top: 32px;
}
.calculator label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 20px 0 10px;
}
.money-input {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #94b3c8;
  font-size: 27px;
  gap: 10px;
}
.money-input input {
  border: 0;
  background: none;
  color: white;
  width: 100%;
  padding: 8px 0;
  caret-color: var(--sky);
  font-variant-numeric: tabular-nums;
}
.calculator input[type='range'] {
  width: 100%;
  accent-color: var(--sky);
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #c0d5e3;
}
#demo-error {
  font-size: 13px;
  color: #ffcdba;
  min-height: 22px;
  margin-top: 10px;
}
.example-email {
  color: var(--ink);
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 70px #18304730;
  transform: rotate(1deg);
}
.email-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eef6fc;
  padding: 18px 28px;
  font-size: 12px;
}
.email-meta {
  border-bottom: 1px solid var(--line);
  padding: 16px 28px;
  font-size: 12px;
}
.email-meta p {
  margin: 6px 0;
}
.email-meta span {
  display: inline-block;
  width: 65px;
  color: var(--muted);
}
.email-body {
  padding: 30px;
}
.email-body p {
  font-size: 14px;
}
.demo-total {
  font:
    500 52px Manrope,
    sans-serif;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.email-body #calculation {
  font-size: 12px;
  margin: 6px 0 28px;
  color: var(--muted);
}
.email-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7fafc;
  padding: 18px 28px;
  font-size: 12px;
}
.email-bottom svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}
.setup {
  padding: 100px 0;
}
.setup ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.setup li {
  counter-increment: steps;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.setup li:before {
  content: '0' counter(steps);
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}
.privacy {
  display: flex;
  gap: 45px;
  border-top: 1px solid var(--line);
  padding: 55px 0 85px;
}
.privacy h2 {
  font-size: 28px;
  letter-spacing: -0.025em;
}
.privacy p {
  max-width: 790px;
}
.privacy-mark {
  flex: 0 0 80px;
  height: 80px;
  background: #e4f3ff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.privacy-mark svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
}
.account {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 100px;
  padding: 70px;
  border-radius: 20px;
  background: #e4f3ff;
}
.account p {
  max-width: 510px;
}
.account aside {
  align-self: center;
  border-left: 1px solid #a9c7dc;
  padding-left: 45px;
}
.account aside h3 {
  font-size: 30px;
}
.account aside a {
  font-weight: 600;
}
.faq {
  padding: 100px 0;
  max-width: 880px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style-position: outside;
  margin-left: 20px;
  padding-left: 8px;
}
.faq details p {
  margin: 18px 0 0 28px;
  max-width: 750px;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 60px 0;
}
.closing h2 {
  margin: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer div {
  display: flex;
  gap: 24px;
  font-size: 13px;
}
footer p {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 4rem;
  }
  .flow {
    height: 500px;
  }
  .benefits,
  .demo-layout {
    gap: 50px;
  }
  .account {
    padding: 45px;
    gap: 45px;
  }
  .nav nav > a:first-child {
    display: none;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    padding: 20px 0;
  }
  .brand {
    font-size: 12px;
    gap: 6px;
  }
  .nav nav {
    gap: 0;
  }
  .nav nav > a:not(.button) {
    display: none;
  }
  .nav .button {
    font-size: 12px;
    padding: 9px 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0 80px;
    gap: 48px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 10vw, 4.2rem);
    max-width: 550px;
  }
  .hero .lead {
    font-size: 17px;
  }
  .flow {
    max-width: 460px;
    width: calc(100% - 12px);
    justify-self: center;
    height: 490px;
    margin: 0;
  }
  .split-stamp {
    right: -7px;
  }
  .draft {
    left: 30px;
    right: 8px;
  }
  .benefits,
  .demo-layout,
  .account {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .benefits {
    padding: 60px 0;
  }
  .demo-section {
    padding: 60px 0;
  }
  .demo-layout {
    gap: 30px;
  }
  .calculator {
    max-width: none;
  }
  .example-email {
    transform: none;
  }
  .setup {
    padding: 60px 0;
  }
  .setup ol {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 25px;
  }
  .setup li:before {
    margin-bottom: 12px;
  }
  .privacy {
    gap: 20px;
    padding: 35px 0 55px;
  }
  .privacy-mark {
    flex-basis: 48px;
    height: 48px;
  }
  .privacy h2 {
    font-size: 24px;
  }
  .account {
    padding: 30px;
  }
  .account aside {
    border-left: 0;
    border-top: 1px solid #a9c7dc;
    padding: 25px 0 0;
  }
  .faq {
    padding: 60px 0;
  }
  .closing {
    align-items: flex-start;
    gap: 28px;
    flex-direction: column;
    padding: 40px 0;
  }
  .actions {
    gap: 20px;
  }
  .email-body {
    padding: 25px;
  }
  .demo-total {
    font-size: 46px;
  }
  footer {
    padding: 25px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion-toggle {
    display: none;
  }
}

