:root {
  --ink: #172033;
  --muted: #68738a;
  --line: #e7eaf1;
  --violet: #635bdf;
  --dark: #15182b;
  --wash: #f7f8fc;
  --green: #159570;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    16px/1.6 "DM Sans",
    Arial,
    sans-serif;
  background: #fff;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
a {
  color: inherit;
}
.site-header {
  height: 84px;
  max-width: 1240px;
  padding: 0 30px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font:
    800 20px Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.brand > span:last-child > span {
  color: var(--violet);
}
.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--violet);
  color: #fff;
  font: 800 17px Manrope;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 14px;
  font-weight: 600;
}
.main-nav > a {
  text-decoration: none;
}
.main-nav > a:not(.nav-cta):hover {
  color: var(--violet);
}
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
}
.nav-cta {
  padding: 10px 15px;
  background: var(--dark);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: 0;
  border: 0;
}
.hero {
  position: relative;
  min-height: 630px;
  max-width: 1240px;
  padding: 77px 30px 72px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 800;
  color: var(--violet);
}
.eyebrow > span {
  display: block;
  width: 25px;
  height: 2px;
  background: currentColor;
}
.hero h1,
.section h2,
.cta h2 {
  font:
    800 clamp(42px, 5vw, 68px) / 1.08 Manrope,
    sans-serif;
  letter-spacing: -3.2px;
  margin-bottom: 23px;
}
.hero h1 em {
  font-style: normal;
  color: var(--violet);
}
.hero-text {
  max-width: 470px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 31px 0;
}
.button {
  padding: 14px 20px;
}
.button.primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 13px 23px #635bdf35;
}
.button span,
.text-link span {
  font-size: 20px;
}
.text-link {
  color: var(--violet);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.trust {
  font-size: 12px;
  color: var(--muted);
}
.check {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #e7f6f0;
  color: var(--green);
  font-weight: 800;
}
.dot {
  padding: 0 5px;
  color: #b5bac7;
}
.hero-visual {
  position: relative;
  height: 450px;
}
.violet-orb,
.peach-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.violet-orb {
  width: 380px;
  height: 380px;
  right: 22px;
  top: 10px;
  background: #eeedff;
}
.peach-orb {
  width: 180px;
  height: 180px;
  left: 20px;
  bottom: 0;
  background: #fff2e9;
}
.app-window {
  position: absolute;
  z-index: 1;
  right: 8px;
  top: 40px;
  width: min(100%, 550px);
  height: 345px;
  background: #f7f8fc;
  border: 7px solid #fff;
  border-radius: 15px;
  box-shadow: 0 25px 55px #222a5930;
  display: flex;
  overflow: hidden;
}
.app-window aside {
  width: 54px;
  padding: 15px 12px;
  background: #15182b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.app-logo {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #756cf2;
  color: #fff;
  font-size: 12px;
}
.app-window aside i {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #343852;
}
.app-window aside i.active {
  background: #756cf2;
}
.app-window aside span {
  flex: 1;
}
.app-content {
  padding: 22px;
  width: 100%;
  overflow: hidden;
}
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-top small,
.metrics small,
.mini-invoice small,
.report-window small {
  display: block;
  color: #8790a5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.app-top strong {
  font-size: 15px;
}
.app-top strong span {
  color: #f5b843;
}
.avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eae9ff;
  color: #6259d4;
  font-size: 9px;
  font-weight: 800;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.metrics > div,
.chart-card,
.due-card {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 8px;
  padding: 10px;
}
.metrics b {
  display: block;
  font-size: 13px;
  margin: 4px 0;
}
.metrics em {
  font-style: normal;
  font-size: 8px;
  color: var(--green);
}
.metrics .blue-text {
  color: #428bd4;
}
.metrics .red-text {
  color: #d75d72;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.card-head small {
  padding: 3px 5px;
  background: #f4f5f9;
  border-radius: 3px;
  font-size: 7px;
}
.chart {
  height: 116px;
  margin-top: 9px;
  display: flex;
  gap: 6px;
  align-items: end;
  border-bottom: 1px solid #e9ebf1;
}
.chart span {
  width: 100%;
  background: #756df0;
  border-radius: 3px 3px 0 0;
}
.due-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid #eef0f5;
  font-size: 8px;
}
.due-row:last-child {
  border: 0;
}
.due-row b,
.due-row small {
  display: block;
}
.due-row strong {
  margin-left: auto;
  font-size: 9px;
}
.initials {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 7px;
  font-weight: 800;
}
.rose {
  background: #fae5eb;
  color: #c6536e;
}
.amber {
  background: #fff1d6;
  color: #c48221;
}
.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 9px;
  box-shadow: 0 14px 30px #222a591c;
}
.floating-card > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #e7f6f0;
  color: var(--green);
  font-weight: 900;
}
.floating-card small,
.floating-card b {
  display: block;
  font-size: 9px;
  line-height: 1.3;
}
.floating-card b {
  font-size: 11px;
}
.paid-card {
  top: 0;
  left: 0;
}
.invoice-card {
  right: 0;
  bottom: 18px;
}
.invoice-card > span {
  background: #eeedff;
  color: var(--violet);
}
.logo-strip {
  padding: 22px 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  color: var(--muted);
  font-size: 13px;
}
.logo-strip p {
  margin: 0;
}
.logo-strip div {
  display: flex;
  align-items: center;
  gap: 17px;
  font-weight: 700;
  color: #505a6f;
}
.logo-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bec4d1;
}
.section {
  max-width: 1180px;
  padding: 120px 30px;
  margin: auto;
}
.section-heading {
  max-width: 590px;
}
.section h2 {
  font-size: 45px;
  letter-spacing: -2.5px;
}
.section-heading > p:last-child,
.workflow-copy > p:not(.eyebrow),
.control-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 530px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.feature-card {
  min-height: 238px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.feature-card.featured {
  grid-row: span 2;
  background: #fafaff;
  min-height: 492px;
}
.feature-card h3 {
  margin: 20px 0 9px;
  font: 800 18px Manrope;
  letter-spacing: -0.7px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  font-size: 20px;
  font-weight: 800;
}
.violet {
  background: #eeedff;
  color: var(--violet);
}
.green {
  background: #e7f6f0;
  color: var(--green);
}
.blue {
  background: #e9f4ff;
  color: #398ed8;
}
.coral {
  background: #fff0f1;
  color: #db6576;
}
.amber {
  background: #fff1d6;
  color: #c48221;
}
.mini-invoice {
  margin-top: 28px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e9ebf3;
  border-radius: 8px;
  box-shadow: 0 12px 25px #252d5010;
}
.mini-invoice > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.mini-invoice small {
  margin: 10px 0 4px;
}
.mini-invoice strong {
  font-size: 17px;
}
.status {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 15px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}
.sent {
  background: #eaf2ff;
  color: #397fd1;
}
.paid {
  background: #e8f7f1;
  color: #168d6b;
}
.overdue {
  background: #fff0f1;
  color: #cb5269;
}
.workflow {
  max-width: none;
  background: var(--wash);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  padding-left: max(30px, calc((100% - 1120px) / 2));
  padding-right: max(30px, calc((100% - 1120px) / 2));
}
.workflow h2 {
  font-size: 43px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: flex;
  gap: 26px;
  padding: 0 0 29px;
  margin-bottom: 26px;
  border-bottom: 1px solid #dde1ec;
}
.steps li:last-child {
  margin: 0;
  border: 0;
}
.steps span {
  font: 800 13px Manrope;
  color: var(--violet);
}
.steps h3 {
  margin: 0 0 6px;
  font: 800 18px Manrope;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.control {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}
.report-window {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 50px #222a5910;
}
.report-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.report-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eeedff;
  color: var(--violet);
}
.report-top b {
  display: block;
  font-size: 13px;
}
.report-top button {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
  background: #fff;
  color: #4f596d;
  font: 700 9px "DM Sans";
}
.report-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 22px 0;
}
.report-values > div {
  padding: 10px;
  border-radius: 7px;
  background: #f8f9fc;
}
.report-values b,
.report-values span {
  display: block;
}
.report-values b {
  font-size: 16px;
}
.report-values span {
  font-size: 8px;
  color: var(--green);
}
.report-values .alert {
  color: #cc576b;
}
.report-table {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  font-size: 9px;
}
.report-table > div {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.8fr 0.7fr;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
.report-table > div:last-child {
  border: 0;
}
.report-table > div:first-child {
  background: #f7f8fc;
  color: #778196;
  font-size: 8px;
}
.control h2 {
  font-size: 44px;
}
.control ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.control li {
  margin: 12px 0;
  font-size: 14px;
  font-weight: 700;
}
.control li span {
  margin-right: 9px;
  color: var(--green);
}
.cta {
  max-width: 1120px;
  border-radius: 16px;
  padding: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(130deg, #625adb, #7068ec);
  color: #fff;
}
.cta h2 {
  font-size: 44px;
  margin-bottom: 12px;
}
.cta p:last-child {
  margin: 0;
  color: #e7e6ff;
}
.eyebrow.light {
  color: #d9d6ff;
}
.button.white {
  background: #fff;
  color: #413ba5;
  white-space: nowrap;
}
footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 25px 30px 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr 1fr;
  align-items: center;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.footer-top p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-top > a:last-child {
  font-size: 13px;
  text-align: right;
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  color: #8a92a3;
  font-size: 11px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom div {
  display: flex;
  gap: 18px;
}
.footer-bottom a {
  text-decoration: none;
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 850px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
  }
  .menu-toggle {
    display: block;
    z-index: 3;
    padding: 7px;
  }
  .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 4px;
    background: var(--ink);
    transition: 0.2s;
  }
  .main-nav {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    padding: 90px 25px 28px;
    background: #fff;
    box-shadow: 0 10px 25px #10152a10;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open {
    display: flex;
  }
  .hero {
    padding: 55px 20px 65px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-visual {
    height: 400px;
    max-width: 580px;
    width: 100%;
    margin: auto;
  }
  .logo-strip {
    padding: 20px;
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }
  .section {
    padding: 82px 20px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card.featured {
    grid-row: auto;
    grid-column: span 2;
    min-height: unset;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 82px 20px;
  }
  .control {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .cta {
    margin: 0 20px;
    padding: 45px 30px;
    gap: 25px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top p {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 9px;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 43px;
    letter-spacing: -2.3px;
  }
  .hero-text {
    font-size: 16px;
  }
  .hero-actions {
    gap: 15px;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-visual {
    height: 300px;
  }
  .app-window {
    top: 34px;
    right: 0;
    height: 230px;
    border-width: 4px;
  }
  .app-window aside {
    width: 38px;
    padding: 9px;
    gap: 9px;
  }
  .app-window aside i {
    width: 15px;
    height: 15px;
  }
  .app-content {
    padding: 13px;
  }
  .metrics {
    margin: 10px 0;
    gap: 5px;
  }
  .metrics > div {
    padding: 6px;
  }
  .dashboard-grid {
    gap: 5px;
  }
  .chart-card,
  .due-card {
    padding: 6px;
  }
  .chart {
    height: 67px;
  }
  .due-row {
    padding: 4px 0;
  }
  .paid-card {
    left: -3px;
  }
  .invoice-card {
    bottom: 1px;
  }
  .floating-card {
    padding: 7px 9px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.featured {
    grid-column: auto;
  }
  .section h2,
  .workflow h2,
  .control h2 {
    font-size: 36px;
  }
  .cta {
    padding: 38px 25px;
    display: block;
  }
  .cta h2 {
    font-size: 34px;
  }
  .cta .button {
    margin-top: 22px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-top p {
    grid-column: auto;
  }
  .footer-top > a:last-child {
    text-align: left;
  }
  .footer-bottom div {
    gap: 10px;
    flex-wrap: wrap;
  }
  .report-table > div {
    grid-template-columns: 1fr 1.2fr 0.8fr;
  }
  .report-table > div > *:last-child {
    display: none;
  }
}
/* Site controls and PROinvoice dark mode */
.header-tools {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-left: 16px;
}
.theme-toggle,
.language-toggle {
  display: grid;
  place-items: center;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 800 11px "DM Sans";
  text-decoration: none;
  cursor: pointer;
}
.theme-toggle {
  width: 49px;
  padding: 0 6px;
  grid-template-columns: 1fr 1fr;
}
.theme-toggle span {
  color: #8993a8;
}
.language-toggle {
  width: 36px;
}
body[data-theme="dark"] {
  --ink: #f4f5fa;
  --muted: #a4abc0;
  --line: #2c3145;
  --wash: #111321;
  background: #111321;
}
body[data-theme="dark"] .site-header,
body[data-theme="dark"] .main-nav,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .language-toggle,
body[data-theme="dark"] .feature-card,
body[data-theme="dark"] .report-window {
  background: #191c2c;
  color: #f4f5fa;
}
body[data-theme="dark"] .main-nav {
  box-shadow: 0 10px 25px #0005;
}
body[data-theme="dark"] .app-window {
  border-color: #24283a;
  background: #24283a;
}
body[data-theme="dark"] .metrics > div,
body[data-theme="dark"] .chart-card,
body[data-theme="dark"] .due-card,
body[data-theme="dark"] .mini-invoice,
body[data-theme="dark"] .floating-card,
body[data-theme="dark"] .report-values > div,
body[data-theme="dark"] .report-top button {
  background: #24283a;
  border-color: #343a52;
  color: #f4f5fa;
}
body[data-theme="dark"] .report-table > div:first-child {
  background: #24283a;
  color: #a4abc0;
}
body[data-theme="dark"] .feature-card.featured {
  background: #1d2033;
}
body[data-theme="dark"] .violet-orb {
  background: #2b2858;
}
body[data-theme="dark"] .peach-orb {
  background: #3b2c2a;
}
body[data-theme="dark"] .logo-strip div {
  color: #cbd0dc;
}
@media (max-width: 850px) {
  .header-tools {
    margin-left: auto;
    margin-right: 12px;
  }
}
@media (max-width: 520px) {
  .header-tools {
    margin-right: 8px;
  }
  .theme-toggle {
    width: 46px;
  }
  .site-header .brand {
    font-size: 18px;
  }
}
/* Pricing */
.pricing {
  padding-top: 0;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 45px;
}
.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.price-card h3 {
  margin: 0 0 8px;
  font: 800 21px Manrope;
}
.price-card > p:not(.price-label) {
  min-height: 48px;
  color: var(--muted);
  font-size: 13px;
}
.price-card > b {
  display: block;
  margin: 20px 0;
  font: 800 30px Manrope;
  letter-spacing: -1px;
}
.price-card > b small {
  font: 500 12px "DM Sans";
  color: var(--muted);
  letter-spacing: 0;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.price-card li {
  border-top: 1px solid var(--line);
  padding: 7px 0;
  font-size: 13px;
}
.price-card li:before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  margin-right: 8px;
}
.price-card a {
  display: block;
  padding: 11px;
  border-radius: 7px;
  background: #f0efff;
  color: #4e47b2;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.featured-price {
  border: 2px solid var(--violet);
  box-shadow: 0 18px 34px #635bdf18;
}
.featured-price a {
  background: var(--violet);
  color: #fff;
}
.price-label {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--violet);
  color: #fff !important;
  min-height: 0 !important;
  font-size: 10px !important;
  font-weight: 800;
}
@media (max-width: 850px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
  .price-card > p:not(.price-label) {
    min-height: 0;
  }
}
