:root {
  --ink: #0d1728;
  --ink-soft: #526076;
  --navy: #08111f;
  --navy-2: #0c1d33;
  --line: #dfe6ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --blue: #3c82f5;
  --sky: #38bdf8;
  --quartz: #4c89aa;
  --green: #16a34a;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --pink: #db2777;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(8, 17, 31, 0.14);
  --shell: min(1180px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.7);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #eef7ff;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 17, 31, 0.88);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.14);
}

.brand strong {
  color: var(--sky);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #c8d5e4;
  font-size: 14px;
  font-weight: 600;
}

.main-navigation a {
  transition: color 150ms ease;
}

.main-navigation a:hover {
  color: var(--paper);
}

.main-navigation .nav-cta {
  padding: 9px 16px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.main-navigation .nav-cta:hover {
  color: var(--navy);
  background: var(--paper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 920px;
  padding: 158px 0 110px;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 72% 20%, rgba(56, 189, 248, 0.15), transparent 32%),
    linear-gradient(145deg, #07101d 0%, #0a1728 58%, #09243b 100%);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  content: "";
  background: linear-gradient(transparent, rgba(2, 10, 18, 0.35));
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
}

.hero-orb-one {
  top: -160px;
  left: -140px;
  background: #7c3aed;
}

.hero-orb-two {
  right: -180px;
  bottom: -120px;
  background: #0ea5e9;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, 0.88fr);
  gap: 74px;
  align-items: center;
}

.hero-copy {
  padding-bottom: 28px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #a8dff5;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--quartz);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(48px, 5.1vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: #78d5fa;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: #b6c4d6;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 720;
  border-radius: 14px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #06111e;
  background: linear-gradient(135deg, #73d3fb, #4fa4c9);
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.22);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(56, 189, 248, 0.3);
}

.button-ghost {
  color: #dbe7f4;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 0;
  padding: 0;
  color: #91a3b9;
  font-size: 12px;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list svg {
  width: 15px;
  fill: none;
  stroke: #69caef;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 650px;
}

.visual-glow {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 440px;
  height: 440px;
  background: rgba(56, 189, 248, 0.17);
  border-radius: 50%;
  filter: blur(80px);
  transform: translateX(-50%);
}

.phone {
  position: relative;
  z-index: 2;
  width: 330px;
  height: 670px;
  padding: 9px;
  background: #03070d;
  border: 1px solid #2f3948;
  border-radius: 48px;
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(2deg);
}

.phone::before,
.phone::after {
  position: absolute;
  left: -3px;
  width: 3px;
  content: "";
  background: #394452;
  border-radius: 3px 0 0 3px;
}

.phone::before {
  top: 128px;
  height: 62px;
}

.phone::after {
  top: 202px;
  height: 82px;
}

.phone-island {
  position: absolute;
  z-index: 10;
  top: 17px;
  left: 50%;
  width: 96px;
  height: 27px;
  background: #000;
  border-radius: 20px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  color: #101827;
  background:
    radial-gradient(circle at 6% 86%, rgba(220, 252, 231, 0.72), transparent 34%),
    radial-gradient(circle at 100% 55%, rgba(224, 242, 254, 0.9), transparent 42%),
    #f8f9fd;
  border-radius: 40px;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 12px 23px 0;
  font-size: 11px;
  font-weight: 800;
}

.phone-status > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-status svg {
  width: 17px;
  height: 13px;
  fill: none;
  stroke: #101827;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.battery {
  display: block;
  width: 20px;
  height: 10px;
  border: 1.5px solid #101827;
  border-radius: 3px;
  box-shadow: inset -2px 0 white, inset 13px 0 #101827;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px 12px;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.app-title img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.app-actions {
  display: flex;
  gap: 8px;
}

.app-action {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
}

.app-action svg {
  width: 18px;
  fill: none;
  stroke: #172236;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.instance-line {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 22px 14px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.instance-line svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.app-body {
  padding: 14px 19px 90px;
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.76), rgba(250, 245, 255, 0.55), rgba(240, 253, 244, 0.72));
  border-top: 1px solid #edf0f6;
}

.app-welcome {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-welcome > span {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.app-welcome small {
  color: #64748b;
  font-size: 10px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 14px;
}

.kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11px 4px 9px;
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 13px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.kpi svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.kpi strong {
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.1;
}

.kpi span {
  margin-top: 2px;
  color: #64748b;
  font-size: 8px;
}

.kpi-green {
  color: #16a34a;
}

.kpi-blue {
  color: #3c82f5;
}

.kpi-amber {
  color: #f59e0b;
}

.app-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.app-section-title > div {
  display: flex;
  flex-direction: column;
}

.app-section-title strong {
  font-size: 12px;
}

.app-section-title span {
  color: #64748b;
  font-size: 8px;
}

.app-section-title b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #3c82f5;
  background: #dbeafe;
  border-radius: 50%;
  font-size: 9px;
}

.request-card {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 9px;
  align-items: center;
  margin-top: 9px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 13px;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.04);
}

.request-card > div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.request-card strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-card span {
  margin-top: 2px;
  color: #64748b;
  font-size: 7.5px;
}

.request-card > b {
  padding: 3px 5px;
  color: #b91c1c;
  background: #fee2e2;
  border-radius: 5px;
  font-size: 6.5px;
}

.request-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #3c82f5;
  background: #dbeafe;
  border-radius: 10px;
}

.request-icon-violet {
  color: #7c3aed;
  background: #ede9fe;
}

.request-icon svg,
.chevron {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.chevron {
  width: 13px;
  color: #94a3b8;
}

.app-bottom-nav {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 9px 12px 14px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #e7ebf2;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.app-bottom-nav span {
  display: flex;
  align-items: center;
  color: #8290a3;
  flex-direction: column;
  font-size: 7px;
  font-weight: 700;
}

.app-bottom-nav span.active {
  color: #3c82f5;
}

.app-bottom-nav svg {
  width: 19px;
  margin-bottom: 2px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.notification-card,
.instance-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.notification-card {
  top: 78px;
  right: -28px;
  width: 270px;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 18px;
  transform: rotate(-3deg);
}

.notification-card img {
  width: 37px;
  height: 37px;
  border-radius: 10px;
}

.notification-card div,
.instance-card div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.notification-card strong,
.instance-card strong {
  font-size: 10px;
}

.notification-card span,
.instance-card span {
  overflow: hidden;
  color: #64748b;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-card time {
  align-self: flex-start;
  color: #94a3b8;
  font-size: 7px;
}

.instance-card {
  right: 5px;
  bottom: 58px;
  width: 250px;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  transform: rotate(3deg);
}

.mini-logo {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto !important;
  place-items: center;
  color: #fff !important;
  background: linear-gradient(135deg, #4c89aa, #38bdf8);
  border-radius: 10px;
  font-size: 13px !important;
  font-weight: 900;
}

.intro-band {
  padding: 108px 0;
  color: #dce7f3;
  background: #07101d;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.intro-band-inner {
  display: grid;
  grid-template-columns: 0.55fr 1.4fr 0.75fr;
  gap: 50px;
  align-items: start;
}

.intro-band p {
  margin: 10px 0 0;
  color: #7f93a9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-band h2 {
  margin: 0;
  font-size: clamp(33px, 3.4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.intro-band .intro-text {
  margin: 7px 0 0;
  color: #9db0c4;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.75;
  text-transform: none;
}

.section {
  padding: 120px 0;
}

.features-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.09), transparent 28%),
    #f6f8fb;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 52px;
}

.section-heading h2,
.flow-copy h2,
.instances-copy h2,
.security-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.1vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.section-heading > p:last-child,
.flow-copy > p,
.instances-copy > p,
.security-copy > p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 335px;
  padding: 32px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e9f1;
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(20, 36, 58, 0.055);
}

.feature-large {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.feature-wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
}

.feature-blue {
  background:
    radial-gradient(circle at 90% 15%, rgba(56, 189, 248, 0.24), transparent 33%),
    linear-gradient(145deg, #ecf8ff, #f7fbff 65%);
  border-color: #cdeaf8;
}

.feature-dark {
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(124, 58, 237, 0.24), transparent 35%),
    linear-gradient(145deg, #0b1626, #111d30);
  border-color: #223046;
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  place-items: center;
  color: #2563eb;
  background: #dbeafe;
  border-radius: 15px;
}

.feature-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-violet {
  color: #7c3aed;
  background: #ede9fe;
}

.icon-green {
  color: #15803d;
  background: #dcfce7;
}

.icon-sky {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
}

.icon-amber {
  color: #d97706;
  background: #fef3c7;
}

.icon-pink {
  color: #be185d;
  background: #fce7f3;
}

.feature-number {
  color: #9aa8b9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  max-width: 420px;
  margin: 9px 0 0;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.feature-card p {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.feature-dark p {
  color: #9aacc0;
}

.mini-request-list {
  display: flex;
  align-self: end;
  flex-direction: column;
  gap: 8px;
}

.mini-request-list span {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 12px 13px;
  color: #344257;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  font-size: 10px;
  box-shadow: 0 8px 24px rgba(53, 99, 128, 0.09);
}

.mini-request-list b {
  color: #7b8797;
  font-size: 8px;
}

.dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-blue { background: #3b82f6; }
.dot-green { background: #22c55e; }

.invoice-preview {
  display: flex;
  align-self: center;
  padding: 18px;
  color: #223046;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(53, 99, 128, 0.13);
  flex-direction: column;
}

.invoice-preview-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.supplier-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #22c55e);
  border-radius: 10px;
  font-size: 9px;
  font-weight: 850;
}

.invoice-preview-head > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.invoice-preview-head small {
  color: #8290a1;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.invoice-preview-head strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-status {
  padding: 4px 7px;
  color: #a16207;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
}

.invoice-total {
  display: flex;
  margin-top: 18px;
  flex-direction: column;
}

.invoice-total span {
  color: #8290a1;
  font-size: 8px;
}

.invoice-total strong {
  margin-top: 1px;
  color: #101827;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.invoice-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 10px;
  color: #7b8797;
  border-top: 1px solid #e8edf3;
  font-size: 7px;
}

.invoice-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7px;
  margin-top: 14px;
}

.invoice-actions > span {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 800;
}

.invoice-reject {
  color: #b42318;
  background: #fff;
  border: 1px solid #f1c7c2;
}

.invoice-approve {
  gap: 5px;
  color: #fff;
  background: #16a34a;
  box-shadow: 0 7px 18px rgba(22, 163, 74, 0.22);
}

.invoice-approve svg {
  width: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.invoice-channel {
  margin-top: 10px;
  color: #8b98a8;
  font-size: 6.5px;
  text-align: center;
}

.chat-preview {
  display: flex;
  align-self: center;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 19px;
}

.chat {
  max-width: 88%;
  padding: 10px 12px;
  font-size: 9px;
  line-height: 1.5;
  border-radius: 12px;
}

.chat-left {
  color: #dbe8f5;
  background: #26344a;
  border-bottom-left-radius: 4px;
}

.chat-right {
  align-self: flex-end;
  color: #08111f;
  background: #72d2f8;
  border-bottom-right-radius: 4px;
}

.chat-preview > span {
  color: #6f8298;
  font-size: 8px;
  text-align: center;
}

.flow-section {
  overflow: hidden;
  background: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.flow-steps {
  display: flex;
  margin: 40px 0 0;
  padding: 0;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.flow-steps li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.flow-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 11px;
  font-size: 11px;
  font-weight: 800;
}

.flow-steps div {
  display: flex;
  flex-direction: column;
}

.flow-steps strong {
  font-size: 14px;
}

.flow-steps small {
  margin-top: 3px;
  color: #758297;
  font-size: 12px;
}

.upload-visual {
  position: relative;
  padding: 62px;
}

.upload-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 20% 20%, #dbeafe, transparent 35%),
    radial-gradient(circle at 85% 75%, #dcfce7, transparent 34%),
    #f7f8fc;
  border-radius: 34px;
  transform: rotate(3deg);
}

.upload-card {
  position: relative;
  z-index: 2;
  max-width: 470px;
  margin: auto;
  padding: 23px;
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 25px;
  box-shadow: 0 30px 80px rgba(20, 36, 58, 0.15);
  transform: rotate(-2deg);
}

.upload-head {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  gap: 12px;
  align-items: center;
}

.upload-head > div {
  display: flex;
  flex-direction: column;
}

.upload-head strong {
  font-size: 13px;
}

.upload-head small {
  color: #718096;
  font-size: 9px;
}

.back-arrow,
.more {
  color: #65758a;
  font-size: 21px;
  text-align: center;
}

.more {
  font-size: 11px;
  letter-spacing: 2px;
}

.upload-drop {
  display: flex;
  align-items: center;
  margin-top: 22px;
  padding: 30px 18px;
  flex-direction: column;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 17px;
}

.upload-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: #3c82f5;
  background: #dbeafe;
  border-radius: 14px;
}

.upload-icon svg,
.upload-options svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.upload-drop strong {
  margin-top: 10px;
  font-size: 12px;
}

.upload-drop small {
  margin-top: 3px;
  color: #7a8799;
  font-size: 9px;
}

.upload-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.upload-options span {
  display: flex;
  align-items: center;
  padding: 11px 5px;
  color: #536174;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #e7ebf2;
  border-radius: 11px;
  font-size: 8px;
}

.upload-options svg {
  width: 17px;
  margin-bottom: 5px;
  color: #3c82f5;
}

.upload-card button {
  width: 100%;
  margin-top: 16px;
  padding: 11px;
  color: #fff;
  background: linear-gradient(135deg, #3c82f5, #38bdf8);
  border: 0;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 750;
}

.instances-section {
  color: #fff;
  background:
    radial-gradient(circle at 10% 100%, rgba(56, 189, 248, 0.13), transparent 32%),
    #08111f;
}

.instances-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  align-items: center;
}

.instances-copy .eyebrow {
  color: #79d3f6;
}

.instances-copy > p {
  color: #9eb0c4;
}

.instances-visual {
  position: relative;
  padding: 36px;
}

.instances-visual::before {
  position: absolute;
  inset: 5% 12%;
  content: "";
  background: rgba(56, 189, 248, 0.16);
  border-radius: 50%;
  filter: blur(70px);
}

.instance-window {
  position: relative;
  z-index: 2;
  padding: 19px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 26px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
}

.instance-window-head,
.instance-window-head > div,
.instance-row {
  display: flex;
  align-items: center;
}

.instance-window-head {
  justify-content: space-between;
  padding: 2px 5px 16px;
}

.instance-window-head > div {
  gap: 9px;
}

.instance-window-head img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.instance-window-head strong {
  font-size: 13px;
}

.instance-window-head > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #3c82f5;
  background: #eff6ff;
  border-radius: 9px;
}

.instance-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 11px;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid #e7ebf2;
  border-radius: 14px;
}

.instance-row.active {
  background: #eff8ff;
  border-color: #b9e3f7;
}

.instance-row > div {
  display: flex;
  flex-direction: column;
}

.instance-row strong {
  font-size: 11px;
}

.instance-row small {
  color: #718096;
  font-size: 8px;
}

.instance-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 800;
}

.avatar-blue { background: linear-gradient(135deg, #3c82f5, #38bdf8); }
.avatar-violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.instance-row i {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #86efac;
}

.instance-row svg {
  width: 14px;
  fill: none;
  stroke: #94a3b8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.firm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 13px 4px 2px 57px;
}

.firm-chips span {
  padding: 5px 8px;
  color: #5d6b7e;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 7px;
}

.access-note {
  display: flex;
  gap: 13px;
  margin-top: 30px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
}

.access-note svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: #5dc9f2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.access-note span {
  display: flex;
  color: #8fa2b8;
  flex-direction: column;
  font-size: 12px;
}

.access-note strong {
  margin-bottom: 2px;
  color: #e1ecf7;
  font-size: 13px;
}

.security-section {
  background: #f6f8fb;
}

.security-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  padding: 70px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.13), transparent 30%),
    linear-gradient(145deg, #0a1525, #0c2036);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.security-copy .eyebrow {
  color: #72d2f8;
}

.security-copy > p {
  color: #9fb1c4;
}

.security-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  color: #72d2f8;
  font-size: 13px;
  font-weight: 750;
}

.security-copy > a svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 150ms ease;
}

.security-copy > a:hover svg {
  transform: translateX(3px);
}

.security-points {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.security-points li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 16px;
}

.security-points li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #79d3f6;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 11px;
  font-size: 9px;
  font-weight: 800;
}

.security-points li > div {
  display: flex;
  flex-direction: column;
}

.security-points strong {
  font-size: 13px;
}

.security-points small {
  margin-top: 3px;
  color: #8fa2b7;
  font-size: 10px;
  line-height: 1.55;
}

.final-cta {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.26), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.2), transparent 30%),
    #07101d;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 55px 55px;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.final-cta img {
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(56, 189, 248, 0.18);
}

.final-cta-inner > p:first-of-type {
  margin: 20px 0 0;
  color: #79d3f6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.final-cta h2 {
  max-width: 850px;
  margin: 16px 0 0;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.final-copy {
  max-width: 570px;
  margin: 22px 0 0;
  color: #98abc0;
}

.button-light {
  margin-top: 28px;
  color: #08111f;
  background: #fff;
}

.site-footer {
  color: #a5b4c5;
  background: #050b14;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding-block: 70px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 330px;
  margin: 17px 0 0;
  color: #6f8298;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 70px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: #e4edf6;
  font-size: 12px;
}

.footer-links a {
  color: #74869a;
  font-size: 12px;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 20px 28px;
  color: #526278;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal and support pages */
.inner-page {
  background: #f7f9fc;
}

.inner-page .site-header {
  position: relative;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.inner-page .site-header .brand strong {
  color: var(--quartz);
}

.inner-page .main-navigation {
  color: #59677a;
}

.inner-page .main-navigation a:hover {
  color: var(--ink);
}

.inner-page .main-navigation .nav-cta {
  color: var(--ink);
  border-color: #d8e0ea;
}

.inner-page .main-navigation .nav-cta:hover {
  color: #fff;
  background: var(--ink);
}

.inner-page .menu-toggle {
  color: var(--ink);
  border-color: #d8e0ea;
}

.page-hero {
  padding: 100px 0 86px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 10%, rgba(56, 189, 248, 0.18), transparent 32%),
    linear-gradient(145deg, #08111f, #0d2239);
}

.page-hero .eyebrow {
  color: #79d3f6;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.page-hero > .shell > p:last-child {
  max-width: 700px;
  margin: 25px 0 0;
  color: #a3b4c7;
  font-size: 18px;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 90px;
  align-items: start;
  padding-block: 84px 120px;
}

.legal-aside {
  position: sticky;
  top: 28px;
  display: flex;
  padding: 20px;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(20, 36, 58, 0.05);
}

.legal-aside strong {
  padding: 5px 9px 10px;
  color: #9aa6b6;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-aside a {
  padding: 8px 9px;
  color: #617084;
  border-radius: 9px;
  font-size: 12px;
}

.legal-aside a:hover {
  color: var(--ink);
  background: #f1f5f9;
}

.legal-content {
  min-width: 0;
}

.legal-summary {
  margin-bottom: 50px;
  padding: 26px 28px;
  color: #17314a;
  background: #eaf7fd;
  border: 1px solid #c6eafa;
  border-radius: 18px;
}

.legal-summary strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.legal-summary p {
  margin: 0;
  color: #4f667b;
  font-size: 13px;
}

.legal-section {
  padding: 0 0 42px;
  scroll-margin-top: 30px;
}

.legal-section + .legal-section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 17px;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.legal-section h3 {
  margin: 25px 0 9px;
  font-size: 16px;
}

.legal-section p,
.legal-section li {
  color: #5d6b7e;
  font-size: 14px;
  line-height: 1.8;
}

.legal-section p {
  margin: 0 0 13px;
}

.legal-section ul,
.legal-section ol {
  margin: 13px 0;
  padding-left: 20px;
}

.legal-section a {
  color: #24749a;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #a9d8ed;
  text-underline-offset: 3px;
}

.legal-meta {
  margin-top: 28px;
  color: #8b98a8;
  font-size: 11px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 36px;
}

.support-card {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.support-card svg {
  width: 25px;
  fill: none;
  stroke: var(--quartz);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-card h3 {
  margin: 14px 0 6px;
  font-size: 15px;
}

.support-card p {
  margin: 0;
  font-size: 12px;
}

.contact-panel {
  padding: 31px;
  color: #fff;
  background: linear-gradient(145deg, #0b1728, #0c2943);
  border-radius: 21px;
}

.contact-panel h2 {
  margin: 0;
  font-size: 26px;
}

.contact-panel p {
  margin: 10px 0 20px;
  color: #9eb1c5;
}

.contact-panel a {
  display: inline-flex;
  padding: 11px 16px;
  color: #07101d;
  background: #75d3f8;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 760;
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .notification-card {
    right: 0;
  }

  .instance-card {
    right: 12px;
  }

  .intro-band-inner {
    grid-template-columns: 1fr 2fr;
  }

  .intro-band .intro-text {
    grid-column: 2;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-large,
  .feature-wide {
    grid-column: span 2;
  }

  .flow-grid,
  .instances-grid {
    gap: 50px;
  }

  .security-card {
    gap: 45px;
    padding: 50px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    z-index: 99;
    inset: 78px 16px auto;
    display: flex;
    padding: 18px;
    visibility: hidden;
    align-items: stretch;
    color: #c8d5e4;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 17, 31, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }

  .inner-page .main-navigation {
    color: #c8d5e4;
  }

  .main-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-navigation a {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-navigation .nav-cta {
    margin-top: 10px;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .hero {
    padding-top: 132px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    max-width: 680px;
    text-align: center;
  }

  .hero .eyebrow,
  .hero-actions,
  .trust-list {
    justify-content: center;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(46px, 10vw, 66px);
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 680px;
  }

  .notification-card {
    right: 7%;
  }

  .instance-card {
    right: 9%;
  }

  .intro-band-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro-band .intro-text {
    grid-column: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-large,
  .feature-wide {
    grid-column: auto;
  }

  .feature-large,
  .feature-wide {
    grid-template-columns: 1fr;
  }

  .flow-grid,
  .instances-grid {
    grid-template-columns: 1fr;
  }

  .instances-copy {
    grid-row: 1;
  }

  .security-card {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-aside {
    position: static;
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  .header-inner {
    min-height: 70px;
  }

  .main-navigation {
    top: 70px;
  }

  .hero {
    min-height: 0;
    padding: 116px 0 84px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    gap: 10px 14px;
  }

  .hero-visual {
    min-height: 590px;
    margin-inline: -4px;
  }

  .phone {
    width: 286px;
    height: 580px;
    border-radius: 42px;
  }

  .phone-screen {
    border-radius: 34px;
  }

  .phone-status {
    height: 43px;
  }

  .app-topbar {
    padding-top: 13px;
  }

  .app-body {
    padding-inline: 15px;
  }

  .notification-card {
    top: 60px;
    right: -5px;
    width: 220px;
  }

  .instance-card {
    right: -2px;
    bottom: 45px;
    width: 210px;
  }

  .intro-band,
  .section {
    padding-block: 84px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .flow-copy h2,
  .instances-copy h2,
  .security-copy h2 {
    font-size: 39px;
  }

  .feature-card {
    min-height: 0;
    padding: 25px;
  }

  .feature-card h3 {
    font-size: 22px;
  }

  .upload-visual,
  .instances-visual {
    margin-inline: -14px;
    padding: 28px 16px;
  }

  .upload-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .firm-chips {
    padding-left: 4px;
  }

  .security-card {
    gap: 40px;
    padding: 31px 24px;
    border-radius: 24px;
  }

  .final-cta {
    padding-block: 95px;
  }

  .final-cta h2 {
    font-size: 42px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .page-hero {
    padding: 76px 0 65px;
  }

  .page-hero h1 {
    font-size: 43px;
  }

  .page-hero > .shell > p:last-child {
    font-size: 16px;
  }

  .legal-layout {
    padding-block: 55px 85px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
