@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,300..800&display=swap');

:root {
  --blue: #1DA1F2;
  --blue-2: #0A8CE0;
  --deep: #0B3C5D;
  --cyan: #22D3EE;
  --sky: #D7F2FF;
  --muted: #6F7F8F;
  --neutral: #A8A8A8;
  --line: #E6EEF4;
  --surface: #F7FBFE;
  --white: #fff;
  --ink: #092D49;
  --danger: #D64A4A;
  --success: #1AA878;
  --warning: #F4A63C;
  --shadow: 0 20px 70px rgba(11, 60, 93, .12);
  --shadow-sm: 0 12px 35px rgba(11, 60, 93, .08);
  --radius: 26px;
  --radius-sm: 16px;
  --container: min(1200px, calc(100% - 40px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: 'Google Sans Flex', Inter, Arial, sans-serif;
  color: var(--deep);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip
}

body.menu-open {
  overflow: hidden
}

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

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

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

button {
  cursor: pointer
}

::selection {
  background: rgba(29, 161, 242, .22);
  color: var(--deep)
}

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

.section {
  padding: 110px 0;
  position: relative
}

.section-sm {
  padding: 72px 0
}

.section-soft {
  background: linear-gradient(180deg, #fff 0%, #F5FBFF 100%)
}

.section-deep {
  background: radial-gradient(circle at 80% 20%, rgba(34, 211, 238, .16), transparent 34%), linear-gradient(145deg, #082E4B, #0B3C5D 62%, #0D5278);
  color: #fff
}

.grid {
  display: grid;
  gap: 24px
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap
}

.kicker {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 750;
  color: var(--blue)
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0;
  max-width: 900px
}

.section-copy {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: #62798B;
  max-width: 720px;
  margin: 0
}

.section-deep .section-copy {
  color: rgba(255, 255, 255, .74)
}

.muted {
  color: var(--muted)
}

.text-blue {
  color: var(--blue)
}

.small {
  font-size: .88rem
}

.center {
  text-align: center
}

.center .section-copy {
  margin-inline: auto
}

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

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--deep);
  color: #fff;
  border-radius: 10px;
  transform: translateY(-150%);
  transition: .2s
}

.skip-link:focus {
  transform: none
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s, padding .3s
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 34px rgba(11, 60, 93, .08);
  padding: 9px 0
}

.site-header.scrolled .nav-shell {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
}

.nav-shell {
  width: var(--container);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 12px 40px rgba(11, 60, 93, .06);
  border-radius: 20px;
  padding: 10px 13px 10px 18px;
  backdrop-filter: blur(18px)
}

.brand {
  display: flex;
  align-items: center;
  min-width: 170px
}

.brand img {
  width: 166px;
  height: 42px;
  object-fit: contain;
  object-position: left center
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px
}

.nav-link,
.nav-drop-btn {
  border: 0;
  background: transparent;
  color: var(--deep);
  font-weight: 620;
  padding: 10px 13px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: .2s var(--ease)
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-drop-btn:hover,
.nav-drop-btn:focus-visible,
.nav-link.active,
.nav-drop-btn.active {
  background: var(--sky);
  color: #0b669d
}

.nav-dropdown {
  position: relative
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 18px;
  padding: 10px;
  transition: .22s var(--ease)
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto
}

.dropdown-link {
  display: flex;
  gap: 12px;
  padding: 13px;
  border-radius: 13px;
  transition: .2s
}

.dropdown-link:hover,
.dropdown-link.active {
  background: #F2FAFF
}

.dropdown-link.active>span:last-child {
  color: var(--blue)
}

.dropdown-link strong {
  display: block
}

.dropdown-link span {
  font-size: .78rem;
  color: var(--muted)
}

.mobile-toggle {
  display: none;
  border: 0;
  background: var(--sky);
  width: 44px;
  height: 44px;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  color: var(--deep)
}

.mobile-panel {
  display: none
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 720;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  position: relative;
  overflow: hidden
}

.btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transition: transform .7s var(--ease)
}

.btn:hover::after {
  transform: translateX(120%) skewX(-20deg)
}

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

.btn:active {
  transform: translateY(0) scale(.985)
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1689E9);
  color: #fff;
  box-shadow: 0 10px 26px rgba(29, 161, 242, .25)
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(29, 161, 242, .35)
}

.btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: rgba(29, 161, 242, .42)
}

.btn-secondary:hover {
  background: #EFF9FF;
  border-color: var(--blue)
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding-inline: 8px
}

.btn-dark {
  background: var(--deep);
  color: #fff
}

.btn-sm {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 12px;
  font-size: .9rem
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px
}

.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 142px 0 60px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 78% 26%, rgba(34, 211, 238, .18), transparent 31%), radial-gradient(circle at 55% 84%, rgba(29, 161, 242, .12), transparent 32%), linear-gradient(180deg, #fff 0%, #F5FBFF 100%)
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 60, 93, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 60, 93, .025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%)
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .5;
  pointer-events: none;
  animation: float 8s ease-in-out infinite
}

.hero-orb.one {
  width: 280px;
  height: 280px;
  background: rgba(34, 211, 238, .17);
  top: 14%;
  right: 6%
}

.hero-orb.two {
  width: 180px;
  height: 180px;
  background: rgba(29, 161, 242, .12);
  bottom: 12%;
  left: 35%;
  animation-delay: -3s
}

@keyframes float {
  50% {
    transform: translate3d(0, -20px, 0) scale(1.04)
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1
}

.hero-copy {
  padding: 34px 0
}

.hero h1 {
  font-size: clamp(3.7rem, 7vw, 7.4rem);
  line-height: .88;
  letter-spacing: -.075em;
  margin: 18px 0 26px;
  max-width: 740px
}

.hero h1 .gradient {
  background: linear-gradient(90deg, var(--deep), var(--blue) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-lead {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  max-width: 620px;
  color: #637A8C;
  margin: 0 0 30px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-micro {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
  color: #688094;
  font-size: .88rem
}

.hero-micro span {
  display: flex;
  align-items: center;
  gap: 7px
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  width: 76%;
  height: 70%;
  background: radial-gradient(circle, rgba(34, 211, 238, .24), transparent 70%);
  filter: blur(30px)
}

.hero-art {
  width: 100%;
  max-width: 760px;
  border-radius: 38px;
  box-shadow: 0 35px 90px rgba(29, 161, 242, .17);
  transform: perspective(1300px) rotateY(-5deg) rotateX(1deg);
  transition: transform .18s linear;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%)
}

.floating-chip {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 16px 45px rgba(11, 60, 93, .12);
  backdrop-filter: blur(14px);
  border-radius: 15px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .86rem;
  font-weight: 680;
  animation: chipFloat 5.5s ease-in-out infinite
}

.floating-chip .chip-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue)
}

.floating-chip.c1 {
  left: 1%;
  top: 18%
}

.floating-chip.c2 {
  right: -1%;
  top: 30%;
  animation-delay: -2s
}

.floating-chip.c3 {
  left: 12%;
  bottom: 13%;
  animation-delay: -4s
}

@keyframes chipFloat {
  50% {
    transform: translateY(-12px)
  }
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #7C91A2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--blue), transparent);
  animation: scrollCue 1.8s infinite
}

@keyframes scrollCue {
  0% {
    transform: scaleY(0);
    transform-origin: top
  }

  40% {
    transform: scaleY(1);
    transform-origin: top
  }

  70% {
    transform: scaleY(1);
    transform-origin: bottom
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom
  }
}

/* Cards / visuals */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 161, 242, .28)
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--sky), #fff);
  color: var(--blue);
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 161, 242, .12)
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm)
}

.metric {
  background: #fff;
  padding: 25px;
  text-align: center
}

.metric strong {
  font-size: 2rem;
  line-height: 1;
  display: block;
  letter-spacing: -.04em
}

.metric span {
  font-size: .84rem;
  color: var(--muted)
}

/* Workflow */
.workflow-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: start
}

.workflow-sticky {
  position: sticky;
  top: 120px
}

.workflow-canvas {
  height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, .18), transparent 35%), linear-gradient(160deg, #F5FBFF, #fff);
  border: 1px solid var(--line);
  border-radius: 38px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm)
}

.workflow-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 4px;
  background: linear-gradient(90deg, rgba(29, 161, 242, .15), var(--blue), var(--cyan));
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px rgba(34, 211, 238, .4)
}

.workflow-node {
  position: absolute;
  width: 140px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: .45s var(--ease)
}

.workflow-node.active {
  border-color: var(--blue);
  transform: scale(1.05);
  box-shadow: 0 20px 55px rgba(29, 161, 242, .18)
}

.workflow-node.n1 {
  left: 6%;
  top: 44%
}

.workflow-node.n2 {
  left: 31%;
  top: 23%
}

.workflow-node.n3 {
  left: 55%;
  top: 44%
}

.workflow-node.n4 {
  right: 5%;
  top: 23%
}

.workflow-node .icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  margin-bottom: 10px
}

.workflow-node strong {
  font-size: .92rem
}

.workflow-node span {
  display: block;
  font-size: .72rem;
  color: var(--muted)
}

.workflow-doc {
  position: absolute;
  width: 98px;
  height: 132px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  left: 11%;
  top: 19%;
  box-shadow: var(--shadow-sm);
  transform: rotate(-8deg);
  animation: docPulse 3.8s ease-in-out infinite
}

.workflow-doc::before,
.workflow-doc::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  height: 6px;
  border-radius: 5px;
  background: #D8EAF4
}

.workflow-doc::before {
  top: 28px;
  box-shadow: 0 18px #E5F1F7, 0 36px #E5F1F7
}

.workflow-doc::after {
  bottom: 18px;
  background: var(--sky);
  width: 38px
}

@keyframes docPulse {
  50% {
    transform: rotate(-4deg) translateY(-8px)
  }
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.workflow-step {
  padding: 28px 28px 28px 85px;
  border: 1px solid var(--line);
  border-radius: 22px;
  position: relative;
  background: #fff;
  transition: .3s var(--ease);
  min-height: 145px
}

.workflow-step .step-no {
  position: absolute;
  left: 25px;
  top: 25px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--sky);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800
}

.workflow-step.active {
  border-color: rgba(29, 161, 242, .45);
  box-shadow: var(--shadow-sm);
  transform: translateX(8px)
}

.workflow-step h3 {
  margin: 0 0 8px;
  font-size: 1.25rem
}

.workflow-step p {
  margin: 0;
  color: var(--muted)
}

/* comparison */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.compare-panel {
  border-radius: 30px;
  padding: 34px;
  border: 1px solid var(--line)
}

.compare-panel.manual {
  background: #FFF8F7
}

.compare-panel.auto {
  background: linear-gradient(155deg, #F4FCFF, #fff)
}

.compare-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px
}

.compare-title h3 {
  font-size: 1.5rem;
  margin: 0
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 13px
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, .7);
  border-radius: 13px
}

.manual .compare-item .icon {
  color: var(--danger)
}

.auto .compare-item .icon {
  color: var(--success)
}

/* tool cards */
.tool-card {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(255, 255, 255, .95) 69%);
  z-index: 1
}

.tool-card>* {
  position: relative;
  z-index: 2
}

.tool-card-art {
  position: absolute;
  inset: 0;
  height: 67%;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s var(--ease)
}

.tool-card:hover .tool-card-art {
  transform: scale(1.05)
}

.tool-card h3 {
  font-size: 1.7rem;
  margin: 0 0 7px
}

.tool-card p {
  color: var(--muted);
  margin: 0 0 18px
}

.feature-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .76rem;
  color: #547084
}

/* blogs */
.blog-card {
  padding: 0;
  overflow: hidden
}

.blog-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--sky)
}

.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease)
}

.blog-card:hover .blog-cover img {
  transform: scale(1.06)
}

.blog-body {
  padding: 24px
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .78rem
}

.blog-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 12px 0 9px
}

.blog-card p {
  color: var(--muted);
  margin: 0 0 18px
}

.featured-blog {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  padding: 0
}

.featured-blog img {
  height: 100%;
  min-height: 460px;
  width: 100%;
  object-fit: cover
}

.featured-blog .blog-body {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.featured-blog h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
  margin: 15px 0
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: .2s
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff
}

/* CTA */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 70px;
  background: linear-gradient(135deg, #0B3C5D, #0B557F);
  color: #fff;
  box-shadow: 0 30px 100px rgba(11, 60, 93, .24)
}

.cta-panel::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -60%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 90px solid rgba(34, 211, 238, .11)
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(34, 211, 238, .22), transparent 35%)
}

.cta-panel>* {
  position: relative;
  z-index: 1
}

.cta-panel h2 {
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: .93;
  letter-spacing: -.06em;
  margin: 0 0 20px;
  max-width: 850px
}

.cta-panel p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .74);
  max-width: 640px
}

/* footer */
.site-footer {
  background: #072B45;
  color: #fff;
  padding: 72px 0 28px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px
}

.footer-brand img {
  width: 180px;
  margin-bottom: 18px
}

.footer-brand p {
  color: rgba(255, 255, 255, .65);
  max-width: 360px
}

.footer-col h3 {
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: rgba(255, 255, 255, .45);
  margin: 0 0 18px
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, .77);
  transition: .2s
}

.footer-col a:hover {
  color: var(--cyan);
  transform: translateX(3px)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem;
  color: rgba(255, 255, 255, .48)
}

/* Inner hero */
.inner-hero {
  padding: 180px 0 90px;
  background: radial-gradient(circle at 80% 15%, rgba(34, 211, 238, .17), transparent 30%), linear-gradient(180deg, #fff, #F5FBFF);
  position: relative;
  overflow: hidden
}

.inner-hero h1 {
  font-size: clamp(3.5rem, 8vw, 8.3rem);
  line-height: .88;
  letter-spacing: -.075em;
  margin: 14px 0 28px;
  max-width: 1000px
}

.inner-hero .section-copy {
  font-size: 1.25rem
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-items: center;
  gap: 60px
}

.inner-hero-mascot {
  max-width: 450px;
  margin: auto;
  filter: drop-shadow(0 35px 45px rgba(11, 60, 93, .14));
  animation: float 7s ease-in-out infinite
}

/* About */
.principle-card {
  min-height: 260px
}

.principle-card h3 {
  font-size: 1.35rem;
  margin: 22px 0 10px
}

.principle-card p {
  color: var(--muted)
}

.timeline {
  position: relative;
  padding-left: 30px
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--blue), var(--cyan), transparent)
}

.timeline-item {
  position: relative;
  padding: 0 0 44px 30px
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue);
  box-shadow: 0 0 0 6px var(--sky)
}

.timeline-item h3 {
  margin: 0 0 7px
}

.timeline-item p {
  margin: 0;
  color: var(--muted)
}

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow-sm)
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-weight: 650;
  font-size: .88rem
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #DCE8F0;
  background: #FBFDFF;
  border-radius: 13px;
  padding: 13px 14px;
  color: var(--deep);
  outline: none;
  transition: .2s;
  min-height: 48px
}

.field textarea {
  min-height: 125px;
  resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 161, 242, .1);
  background: #fff
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger)
}

.field-error {
  font-size: .76rem;
  color: var(--danger)
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--muted)
}

.checkbox input {
  margin-top: 4px
}

.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  display: none
}

.form-status.show {
  display: block
}

.form-status.success {
  background: #E9FAF4;
  color: #126B50
}

.form-status.error {
  background: #FFF0EF;
  color: #A43D3D
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 46px;
  align-items: start
}

.contact-aside {
  position: sticky;
  top: 125px
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 28px
}

.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff
}

.contact-info-item .icon-box {
  width: 42px;
  height: 42px
}

.contact-info-item strong {
  display: block
}

.contact-info-item span {
  font-size: .85rem;
  color: var(--muted)
}

.tabs {
  display: flex;
  gap: 8px;
  background: #F2F8FC;
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 26px
}

.tab-btn {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--muted)
}

.tab-btn.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 5px 16px rgba(11, 60, 93, .07)
}

.tab-panel {
  display: none
}

.tab-panel.active {
  display: block
}

/* Tools landing */
.tool-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 520px
}

.tool-hero-card img {
  position: absolute;
  right: -40px;
  bottom: -20px;
  width: 60%;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(11, 60, 93, .14))
}

.tool-hero-card .copy {
  position: relative;
  z-index: 2;
  max-width: 54%
}

.tool-hero-card h2 {
  font-size: 3rem;
  line-height: 1;
  margin: 14px 0
}

.tool-hero-card p {
  color: var(--muted)
}

/* Invoice tool */
.tool-page {
  padding: 138px 0 80px;
  background: #F3F8FB;
  min-height: 100vh
}

.tool-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px
}

.tool-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.05em;
  margin: 8px 0
}

.allowance {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 15px;
  color: var(--muted);
  box-shadow: var(--shadow-sm)
}

.allowance strong {
  color: var(--deep)
}

.invoice-app {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: 20px;
  align-items: start
}

.editor-panel,
.preview-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-sm)
}

.editor-panel {
  padding: 24px
}

.preview-panel {
  padding: 20px;
  position: sticky;
  top: 105px
}

.editor-section {
  border-bottom: 1px solid var(--line);
  padding: 0 0 24px;
  margin: 0 0 24px
}

.editor-section:last-child {
  border: 0;
  margin: 0;
  padding: 0
}

.editor-section h2 {
  font-size: 1.03rem;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 9px
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px
}

.compact-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.editor-panel .field label {
  font-size: .76rem;
  color: #60798B
}

.editor-panel .field input,
.editor-panel .field select,
.editor-panel .field textarea {
  min-height: 43px;
  padding: 10px 11px;
  border-radius: 10px;
  font-size: .9rem
}

.logo-upload {
  border: 1px dashed rgba(29, 161, 242, .45);
  background: #F4FBFF;
  border-radius: 14px;
  padding: 15px;
  text-align: center;
  position: relative
}

.logo-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer
}

.logo-upload img {
  max-height: 58px;
  margin: 0 auto 8px
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px
}

.template-option {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  font-size: .72rem;
  transition: .2s
}

.template-option .thumb {
  height: 70px;
  border-radius: 7px;
  background: linear-gradient(160deg, #fff, #EEF7FC);
  border: 1px solid #E3EDF3;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden
}

.template-option .thumb::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 6px;
  border-radius: 5px;
  background: var(--blue);
  box-shadow: 0 13px #D8E8F2, 0 25px #E7F0F5
}

.template-option.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 161, 242, .1)
}

.line-items {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.line-row {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) 70px 95px 86px 40px;
  gap: 7px;
  align-items: end;
  padding: 10px;
  border-radius: 12px;
  background: #F7FAFC
}

.line-row label {
  font-size: .68rem;
  color: var(--muted)
}

.line-row input {
  width: 100%;
  border: 1px solid #DCE8F0;
  border-radius: 8px;
  padding: 8px;
  font-size: .82rem
}

.line-remove {
  border: 0;
  background: #FFEDEC;
  color: var(--danger);
  height: 35px;
  border-radius: 8px;
  display: grid;
  place-items: center
}

.line-total {
  font-size: .78rem;
  font-weight: 750;
  padding: 8px 2px
}

.tool-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px
}

.preview-toolbar .row {
  gap: 7px
}

.invoice-paper {
  background: #fff;
  min-height: 720px;
  border: 1px solid #E6ECF0;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(11, 60, 93, .08);
  padding: 48px;
  position: relative;
  color: #213D52;
  transform-origin: top center
}

.invoice-paper.template-flow {
  border-top: 9px solid var(--invoice-accent, var(--blue))
}

.invoice-paper.template-ledger {
  font-family: Georgia, serif
}

.invoice-paper.template-studio {
  border-left: 16px solid var(--invoice-accent, var(--blue))
}

.invoice-paper.template-air {
  padding: 58px
}

.invoice-top {
  display: flex;
  justify-content: space-between;
  gap: 20px
}

.invoice-brand-logo {
  max-width: 160px;
  max-height: 75px;
  object-fit: contain
}

.invoice-title {
  text-align: right
}

.invoice-title h2 {
  font-size: 2.5rem;
  letter-spacing: .08em;
  margin: 0;
  color: var(--invoice-accent, var(--blue))
}

.invoice-title p {
  margin: 5px 0;
  color: var(--muted)
}

.invoice-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 40px 0
}

.invoice-party h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--muted);
  margin: 0 0 9px
}

.invoice-party strong {
  font-size: 1.05rem
}

.invoice-party p {
  margin: 3px 0;
  font-size: .88rem
}

.invoice-table {
  width: 100%;
  border-collapse: collapse
}

.invoice-table th {
  background: #F1F7FB;
  text-align: left;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px
}

.invoice-table td {
  border-bottom: 1px solid #E8EEF2;
  padding: 13px 12px;
  font-size: .86rem
}

.invoice-table th:last-child,
.invoice-table td:last-child {
  text-align: right
}

.invoice-summary {
  margin: 24px 0 0 auto;
  width: min(310px, 100%)
}

.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: .9rem
}

.sum-row.total {
  border-top: 2px solid var(--invoice-accent, var(--blue));
  font-weight: 800;
  font-size: 1.2rem;
  margin-top: 7px;
  padding-top: 13px
}

.invoice-notes {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #E6EDF2
}

.invoice-notes h4 {
  margin: 0 0 6px
}

.invoice-notes p {
  font-size: .84rem;
  color: var(--muted);
  white-space: pre-line
}

.invoice-footer {
  margin-top: 38px;
  font-size: .74rem;
  color: var(--muted)
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  background: var(--deep);
  color: #fff;
  padding: 14px 18px;
  border-radius: 13px;
  box-shadow: var(--shadow);
  transform: translateY(25px);
  opacity: 0;
  pointer-events: none;
  transition: .25s
}

.toast.show {
  transform: none;
  opacity: 1
}

/* OCR */
.ocr-app {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 20px;
  align-items: start
}

.upload-panel,
.ocr-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow-sm)
}

.upload-zone {
  border: 2px dashed rgba(29, 161, 242, .35);
  border-radius: 22px;
  min-height: 285px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  background: linear-gradient(180deg, #FBFEFF, #F2FAFF);
  transition: .2s;
  position: relative
}

.upload-zone.dragover {
  border-color: var(--blue);
  background: #EAF8FF;
  transform: scale(1.01)
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer
}

.upload-zone .icon-box {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  margin: 0 auto 15px
}

.upload-zone h3 {
  margin: 0 0 7px
}

.upload-zone p {
  margin: 0;
  color: var(--muted)
}

.source-preview {
  display: none;
  margin-top: 16px;
  background: #EDF3F7;
  border-radius: 18px;
  overflow: hidden;
  min-height: 300px;
  position: relative
}

.source-preview.show {
  display: grid;
  place-items: center
}

.source-preview img,
.source-preview canvas {
  max-height: 540px;
  margin: auto;
  transform-origin: center;
  transition: .25s
}

.source-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px
}

.progress-wrap {
  display: none;
  margin-top: 18px
}

.progress-wrap.show {
  display: block
}

.progress-bar {
  height: 10px;
  background: #E9F1F6;
  border-radius: 999px;
  overflow: hidden
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: inherit;
  transition: width .3s
}

.progress-label {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 8px
}

.ocr-review h2 {
  margin-top: 0
}

.confidence {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700
}

.confidence.high {
  background: #E9FAF4;
  color: #167655
}

.confidence.medium {
  background: #FFF6E5;
  color: #9B6815
}

.confidence.low {
  background: #FFEDEC;
  color: #A33B3B
}

.review-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  align-items: end
}

.review-warning {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #FFF8E8;
  color: #805A1D;
  font-size: .82rem;
  margin: 12px 0
}

.ocr-empty {
  min-height: 530px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted)
}

/* Article */
.article-hero {
  padding: 180px 0 70px;
  background: #F6FBFE
}

.article-header {
  max-width: 930px;
  margin: auto;
  text-align: center
}

.article-header h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: .9;
  letter-spacing: -.065em;
  margin: 18px 0
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .88rem
}

.article-cover {
  width: var(--container);
  margin: 45px auto 0;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px) 220px;
  gap: 50px;
  justify-content: center;
  align-items: start
}

.toc {
  position: sticky;
  top: 120px;
  border-left: 2px solid var(--line);
  padding-left: 18px
}

.toc a {
  display: block;
  color: var(--muted);
  font-size: .83rem;
  padding: 7px 0
}

.toc a:hover {
  color: var(--blue)
}

.article-body {
  font-size: 1.1rem;
  color: #37566B
}

.article-body h2 {
  font-size: 2.3rem;
  line-height: 1.05;
  color: var(--deep);
  margin: 55px 0 18px;
  letter-spacing: -.035em
}

.article-body h3 {
  font-size: 1.5rem;
  color: var(--deep);
  margin: 38px 0 14px
}

.article-body p {
  margin: 0 0 22px
}

.article-body blockquote {
  margin: 35px 0;
  padding: 25px 28px;
  border-left: 4px solid var(--blue);
  background: #F2FAFF;
  border-radius: 0 18px 18px 0;
  font-size: 1.28rem;
  color: var(--deep)
}

.article-aside {
  position: sticky;
  top: 120px
}

.share-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px
}

.share-box h4 {
  margin: 0 0 12px
}

.share-buttons {
  display: flex;
  gap: 8px
}

.share-buttons button {
  border: 1px solid var(--line);
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--deep)
}

.reading-progress {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan))
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

.reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: .8s var(--ease)
}

.reveal-left.is-visible {
  opacity: 1;
  transform: none
}

.reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: .8s var(--ease)
}

.reveal-right.is-visible {
  opacity: 1;
  transform: none
}

.stagger>* {
  opacity: 0;
  transform: translateY(22px);
  transition: .7s var(--ease)
}

.stagger.is-visible>* {
  opacity: 1;
  transform: none
}

.stagger.is-visible>*:nth-child(2) {
  transition-delay: .08s
}

.stagger.is-visible>*:nth-child(3) {
  transition-delay: .16s
}

.stagger.is-visible>*:nth-child(4) {
  transition-delay: .24s
}

.stagger.is-visible>*:nth-child(5) {
  transition-delay: .32s
}

.stagger.is-visible>*:nth-child(6) {
  transition-delay: .4s
}

/* responsive */
@media(max-width:1100px) {
  .site-nav {
    display: none
  }

  .mobile-toggle {
    display: flex
  }

  .nav-shell>.btn {
    display: none
  }

  .mobile-panel {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .98);
    padding: 105px 24px 30px;
    transform: translateY(-100%);
    transition: .4s var(--ease)
  }

  .mobile-panel.open {
    transform: none
  }

  .mobile-panel a {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    padding: 15px;
    border-bottom: 1px solid var(--line);
    transition: color .2s var(--ease)
  }

  .mobile-panel a:hover,
  .mobile-panel a.active {
    color: var(--blue)
  }

  .mobile-panel .btn {
    margin-top: 22px;
    width: 100%
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-copy {
    padding-bottom: 0
  }

  .hero h1 {
    max-width: 900px
  }

  .hero-visual {
    min-height: 520px
  }

  .hero-art {
    max-width: 860px
  }

  .floating-chip.c2 {
    right: 2%
  }

  .workflow-layout {
    grid-template-columns: 1fr
  }

  .workflow-sticky {
    position: relative;
    top: auto
  }

  .workflow-canvas {
    height: 520px
  }

  .inner-hero-grid {
    grid-template-columns: 1fr .55fr
  }

  .invoice-app,
  .ocr-app {
    grid-template-columns: 1fr
  }

  .preview-panel {
    position: relative;
    top: auto
  }

  .contact-layout {
    grid-template-columns: 1fr
  }

  .contact-aside {
    position: relative;
    top: auto
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px)
  }

  .toc,
  .article-aside {
    display: none
  }
}

@media(max-width:820px) {
  :root {
    --container: min(100% - 28px, 1200px)
  }

  .section {
    padding: 82px 0
  }

  .section-sm {
    padding: 55px 0
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .compare,
  .footer-grid,
  .featured-blog,
  .inner-hero-grid {
    grid-template-columns: 1fr
  }

  .hero {
    padding-top: 125px;
    min-height: auto
  }

  .hero-grid {
    gap: 0
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.5rem)
  }

  .hero-visual {
    min-height: 450px
  }

  .hero-art {
    transform: none;
    border-radius: 25px
  }

  .floating-chip {
    font-size: .72rem;
    padding: 9px
  }

  .floating-chip.c1 {
    left: 0
  }

  .floating-chip.c2 {
    right: 0
  }

  .floating-chip.c3 {
    left: 7%
  }

  .metric-strip {
    grid-template-columns: 1fr 1fr
  }

  .metric:nth-child(2) {
    border-right: 0
  }

  .workflow-canvas {
    height: 450px
  }

  .workflow-node {
    width: 115px;
    padding: 10px
  }

  .workflow-node.n1 {
    left: 3%
  }

  .workflow-node.n2 {
    left: 28%
  }

  .workflow-node.n3 {
    left: 52%
  }

  .workflow-node.n4 {
    right: 2%
  }

  .workflow-doc {
    display: none
  }

  .cta-panel {
    padding: 45px 30px;
    border-radius: 28px
  }

  .tool-hero-card .copy {
    max-width: 100%
  }

  .tool-hero-card img {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 25px
  }

  .tool-hero-card {
    min-height: auto
  }

  .footer-grid {
    gap: 30px
  }

  .footer-bottom {
    flex-direction: column
  }

  .inner-hero {
    padding-top: 150px
  }

  .inner-hero h1 {
    font-size: clamp(3.2rem, 14vw, 6.2rem)
  }

  .inner-hero-mascot {
    max-width: 320px
  }

  .form-grid,
  .compact-grid,
  .compact-grid.three {
    grid-template-columns: 1fr
  }

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

  .line-row {
    grid-template-columns: 1fr 65px 85px 40px
  }

  .line-row .price-field {
    grid-column: 3
  }

  .line-row .line-total {
    grid-column: 1/4
  }

  .invoice-paper {
    padding: 28px;
    min-height: 650px
  }

  .invoice-parties {
    grid-template-columns: 1fr
  }

  .invoice-title h2 {
    font-size: 1.8rem
  }

  .featured-blog img {
    min-height: 260px
  }

  .featured-blog .blog-body {
    padding: 30px
  }

  .article-cover img {
    aspect-ratio: 16/10
  }

  .article-body {
    font-size: 1rem
  }
}

@media(max-width:520px) {
  .nav-shell {
    padding: 8px 10px 8px 14px
  }

  .brand {
    min-width: 0
  }

  .brand img {
    width: 138px;
    height: 38px
  }

  .hero-actions .btn {
    width: 100%
  }

  .hero-micro {
    gap: 9px;
    flex-direction: column;
    align-items: flex-start
  }

  .hero-visual {
    min-height: 330px
  }

  .floating-chip.c3 {
    display: none
  }

  .floating-chip.c1 {
    top: 10%
  }

  .floating-chip.c2 {
    top: 55%
  }

  .metric-strip {
    grid-template-columns: 1fr
  }

  .workflow-canvas {
    height: 385px
  }

  .workflow-line {
    transform: translate(-50%, -50%) rotate(90deg);
    width: 80%
  }

  .workflow-node {
    width: 130px
  }

  .workflow-node.n1 {
    left: 5%;
    top: 6%
  }

  .workflow-node.n2 {
    right: 5%;
    left: auto;
    top: 28%
  }

  .workflow-node.n3 {
    left: 5%;
    top: 52%
  }

  .workflow-node.n4 {
    right: 5%;
    top: 75%
  }

  .workflow-step {
    padding-left: 70px
  }

  .workflow-step .step-no {
    left: 16px
  }

  .metric {
    padding: 20px
  }

  .compare-panel {
    padding: 24px
  }

  .card {
    padding: 22px
  }

  .cta-panel h2 {
    font-size: 2.65rem
  }

  .tool-header {
    align-items: flex-start;
    flex-direction: column
  }

  .invoice-paper {
    padding: 20px;
    transform: scale(.93);
    width: 107.5%;
    margin-left: -3.7%
  }

  .invoice-top {
    flex-direction: column
  }

  .invoice-title {
    text-align: left
  }

  .line-row {
    grid-template-columns: 1fr 55px 75px 36px;
    gap: 5px
  }

  .editor-panel,
  .preview-panel,
  .upload-panel,
  .ocr-review {
    padding: 16px;
    border-radius: 18px
  }
}

@media(prefers-reduced-motion:reduce) {

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .stagger>* {
    opacity: 1 !important;
    transform: none !important
  }

  .hero-art {
    transform: none !important
  }
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 40px auto 0
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden
}

.faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 750;
  color: var(--deep)
}

.faq-question .icon {
  transition: transform .25s
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease)
}

.faq-answer p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted)
}

.faq-item.open .faq-answer {
  max-height: 260px
}

.faq-item.open .faq-question .icon {
  transform: rotate(180deg)
}

@media print {
  body {
    background: #fff
  }

  .site-header,
  .site-footer,
  .tool-header,
  .editor-panel,
  .preview-toolbar,
  .toast {
    display: none !important
  }

  .tool-page {
    padding: 0;
    background: #fff
  }

  .invoice-app {
    display: block
  }

  .preview-panel {
    border: 0;
    box-shadow: none;
    padding: 0
  }

  .invoice-paper {
    border: 0;
    box-shadow: none;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
    min-height: auto
  }

  @page {
    size: A4;
    margin: 10mm
  }
}

/* ===== AirDoc 2.0 refinement layer ===== */
:root {
  --space-1: .5rem;
  --space-2: 2.25rem;
  --space-3: 3.5rem;
  --space-4: 5.5rem;
  --radius-xl: 32px
}

body {
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0;
  text-rendering: optimizeLegibility
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-kerning: normal;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal
}

.hero h1,
.inner-hero h1,
.article-header h1 {
  letter-spacing: -.038em;
  line-height: .98
}

.section-title {
  letter-spacing: -.032em;
  line-height: 1.03
}

.cta-panel h2,
.featured-blog h2 {
  letter-spacing: -.032em;
  line-height: 1.02
}

.section-copy {
  line-height: 1.7
}

.card {
  padding: 30px
}

.card h2,
.card h3 {
  line-height: 1.18;
  letter-spacing: -.018em
}

.section {
  padding: 110px 0
}

.section-sm {
  padding: 72px 0
}

.inner-hero {
  padding: 170px 0 105px
}

.btn {
  min-height: 48px;
  padding: 12px 20px
}

.btn-sm {
  min-height: 42px;
  padding: 10px 16px
}

.nav-dropdown-menu {
  width: min(760px, calc(100vw - 40px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px
}

.nav-dropdown-menu .dropdown-link {
  min-width: 0
}

.nav-dropdown-menu .dropdown-link:last-child {
  grid-column: 1/-1
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr
}

.footer-col a {
  line-height: 1.35;
  margin-bottom: 2px
}

/* redesigned cinematic hero */
.hero-v2 {
  position: relative;
  min-height: 920px;
  padding: 150px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 74% 30%, rgba(34, 211, 238, .18), transparent 24%), radial-gradient(circle at 86% 16%, rgba(29, 161, 242, .16), transparent 32%), linear-gradient(180deg, #fff 0%, #f7fcff 72%, #edf9ff 100%)
}

.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 60, 93, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 60, 93, .035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 74%, transparent)
}

.hero-v2-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(580px, 1.12fr);
  align-items: center;
  gap: 54px
}

.hero-v2-copy {
  padding: 58px 0
}

.hero-v2 h1 {
  font-size: clamp(3.6rem, 6.6vw, 7.25rem);
  line-height: .96;
  letter-spacing: -.042em;
  margin: 20px 0 27px;
  max-width: 800px
}

.hero-v2 h1 em {
  font-style: normal;
  color: var(--blue)
}

.hero-v2 .lead {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  max-width: 650px;
  color: #526d80;
  line-height: 1.72
}

.hero-v2-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: #60798b;
  font-size: .9rem
}

.hero-proof .proof-line {
  width: 42px;
  height: 1px;
  background: var(--blue)
}

.hero-stage {
  position: relative;
  min-height: 650px;
  perspective: 1200px
}

.hero-orbit {
  position: absolute;
  inset: 8% 1% 5%;
  border: 1px solid rgba(29, 161, 242, .15);
  border-radius: 50%;
  transform: rotate(-8deg);
  animation: orbitPulse 7s ease-in-out infinite
}

.hero-orbit.o2 {
  inset: 20% 9% 14%;
  transform: rotate(9deg);
  animation-delay: -2s
}

.hero-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 178px;
  height: 178px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #fff 15%, #ddf7ff 40%, rgba(29, 161, 242, .16) 60%, rgba(29, 161, 242, 0) 71%);
  filter: drop-shadow(0 22px 44px rgba(29, 161, 242, .18));
  animation: coreBreath 4s ease-in-out infinite
}

.hero-core img {
  width: 115px;
  filter: drop-shadow(0 14px 28px rgba(11, 60, 93, .2))
}

.hero-beam {
  position: absolute;
  left: 18%;
  right: 17%;
  top: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent);
  box-shadow: 0 0 22px rgba(34, 211, 238, .7);
  transform: translateY(-50%)
}

.hero-doc,
.hero-result,
.hero-status {
  position: absolute;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(29, 161, 242, .16);
  box-shadow: 0 20px 50px rgba(11, 60, 93, .12);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  animation: heroFloat 7s ease-in-out infinite
}

.hero-doc {
  width: 210px;
  padding: 16px
}

.hero-doc strong,
.hero-result strong {
  display: block;
  color: var(--deep)
}

.hero-doc small,
.hero-result small {
  display: block;
  color: var(--muted);
  margin-top: 4px
}

.hero-doc .doc-line {
  height: 7px;
  border-radius: 10px;
  background: #e9f1f6;
  margin-top: 9px
}

.hero-doc .doc-line:nth-child(3) {
  width: 75%
}

.hero-doc .doc-line:nth-child(4) {
  width: 52%
}

.hero-doc.d1 {
  left: 0;
  top: 15%;
  transform: rotate(-4deg)
}

.hero-doc.d2 {
  left: 4%;
  top: 47%;
  animation-delay: -1.2s
}

.hero-doc.d3 {
  left: 18%;
  bottom: 5%;
  animation-delay: -2.4s
}

.hero-result {
  right: 0;
  width: 230px;
  padding: 17px 18px
}

.hero-result.r1 {
  top: 12%;
  animation-delay: -.8s
}

.hero-result.r2 {
  top: 41%;
  right: 5%;
  animation-delay: -2s
}

.hero-result.r3 {
  bottom: 8%;
  right: 0;
  animation-delay: -3.1s
}

.hero-result .result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: .82rem
}

.hero-result .result-row span:last-child {
  font-weight: 750;
  color: var(--success)
}

.hero-mascot-v2 {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 240px;
  transform: translateX(-50%);
  z-index: 3;
  filter: drop-shadow(0 28px 35px rgba(11, 60, 93, .18));
  animation: mascotBob 6s ease-in-out infinite
}

.hero-mini-metrics {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  width: min(1050px, calc(100% - 40px));
  justify-content: center
}

.hero-mini-metrics span {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(29, 161, 242, .14);
  border-radius: 999px;
  padding: 10px 15px;
  font-size: .8rem;
  color: #527084;
  box-shadow: 0 10px 35px rgba(11, 60, 93, .07);
  backdrop-filter: blur(12px)
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0))
  }

  50% {
    transform: translateY(-12px) rotate(var(--rot, 0))
  }
}

@keyframes coreBreath {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1)
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05)
  }
}

@keyframes mascotBob {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(-12px)
  }
}

@keyframes orbitPulse {

  0%,
  100% {
    opacity: .45
  }

  50% {
    opacity: 1
  }
}

/* tools index */
.tool-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px
}

.library-card {
  position: relative;
  overflow: hidden;
  min-height: 305px;
  display: flex;
  flex-direction: column
}

.library-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -70px;
  top: -80px;
  background: radial-gradient(circle, rgba(34, 211, 238, .23), rgba(29, 161, 242, 0));
  transition: .35s
}

.library-card:hover::after {
  transform: scale(1.25)
}

.library-card .icon-box {
  width: 52px;
  height: 52px
}

.library-card .best-for {
  margin-top: auto;
  padding-top: 20px;
  color: #60798b;
  font-size: .82rem
}

.library-card .best-for strong {
  color: var(--deep)
}

.tool-category {
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  font-weight: 750;
  margin-bottom: 10px
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 750
}

.tool-link .icon {
  transition: .2s
}

.library-card:hover .tool-link .icon {
  transform: translateX(4px)
}

/* shared document tool workspace */
.document-tool-page {
  padding: 145px 0 90px;
  background: linear-gradient(180deg, #f8fcff, #eef8fd);
  min-height: 100vh
}

.document-tool-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px
}

.document-tool-head h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 10px 0 14px
}

.tool-workspace {
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start
}

.tool-side,
.tool-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm)
}

.tool-side {
  padding: 26px;
  position: sticky;
  top: 105px
}

.tool-main {
  padding: 26px;
  min-height: 620px
}

.tool-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px
}

.tool-main-header h2,
.tool-side h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -.015em
}

.drop-area {
  position: relative;
  border: 2px dashed rgba(29, 161, 242, .34);
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfeff, #f1faff);
  padding: 34px 22px;
  text-align: center;
  transition: .25s
}

.drop-area.dragover {
  border-color: var(--blue);
  background: #eaf8ff;
  transform: translateY(-2px)
}

.drop-area input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer
}

.drop-area .icon-box {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  margin: 0 auto 14px
}

.drop-area h3 {
  margin: 0 0 6px
}

.drop-area p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px
}

.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f9fc;
  font-size: .82rem
}

.file-chip button {
  border: 0;
  background: transparent;
  color: var(--danger)
}

.tool-step-list {
  display: grid;
  gap: 10px;
  margin-top: 22px
}

.tool-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  color: #668092
}

.tool-step.active {
  background: #edf9ff;
  color: var(--deep)
}

.tool-step.done {
  color: var(--success)
}

.tool-step-index {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: .72rem;
  font-weight: 800;
  flex: 0 0 auto
}

.tool-progress {
  height: 9px;
  border-radius: 999px;
  background: #e9f1f6;
  overflow: hidden;
  margin-top: 16px
}

.tool-progress>span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width .35s
}

.empty-state {
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 40px
}

.empty-state .icon-box {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  margin: 0 auto 15px
}

.data-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px
}

.data-table th {
  position: sticky;
  top: 0;
  background: #f0f7fb;
  text-align: left;
  padding: 11px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #60798b
}

.data-table td {
  padding: 9px 11px;
  border-top: 1px solid var(--line);
  font-size: .84rem
}

.data-table input,
.data-table select {
  width: 100%;
  min-width: 110px;
  border: 1px solid #dce8f0;
  border-radius: 8px;
  padding: 8px;
  background: #fff
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 750
}

.status-badge.pass {
  background: #e8faf3;
  color: #167655
}

.status-badge.warn {
  background: #fff5df;
  color: #966315
}

.status-badge.fail {
  background: #ffeded;
  color: #a53d3d
}

.status-badge.info {
  background: #eaf7ff;
  color: #0b74b8
}

.result-list {
  display: grid;
  gap: 11px
}

.result-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px
}

.result-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.result-card h3 {
  font-size: 1rem;
  margin: 0
}

.result-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .86rem
}

.score-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--blue) calc(var(--score)*1%), #e8f0f5 0);
  position: relative
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff
}

.score-ring strong {
  position: relative;
  z-index: 1;
  font-size: 1.3rem
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0
}

.summary-stat {
  padding: 15px;
  border-radius: 15px;
  background: #f5f9fc
}

.summary-stat strong {
  display: block;
  font-size: 1.35rem
}

.mapping-grid {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  gap: 10px;
  align-items: center
}

.mapping-row {
  display: contents
}

.mapping-grid select {
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 10px;
  background: #fff
}

.mapping-arrow {
  text-align: center;
  color: var(--blue)
}

.notice {
  display: flex;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 14px;
  background: #eef9ff;
  color: #496b80;
  font-size: .84rem;
  margin: 14px 0
}

.notice.warning {
  background: #fff7e8;
  color: #825e21
}

.notice.danger {
  background: #fff0ef;
  color: #8d4141
}

.ocr-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px
}

.source-frame {
  background: #eef3f6;
  border-radius: 18px;
  min-height: 540px;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 14px
}

.source-frame img,
.source-frame canvas {
  max-width: 100%;
  max-height: 720px;
  box-shadow: 0 12px 30px rgba(11, 60, 93, .12)
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.review-grid .full {
  grid-column: 1/-1
}

.confidence-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px
}

.confidence-dot.high {
  background: var(--success)
}

.confidence-dot.medium {
  background: var(--warning)
}

.confidence-dot.low {
  background: var(--danger)
}

@media(max-width:1100px) {
  .hero-v2-grid {
    grid-template-columns: 1fr
  }

  .hero-stage {
    min-height: 610px
  }

  .hero-v2 {
    padding-top: 135px
  }

  .tool-library-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .tool-workspace {
    grid-template-columns: 1fr
  }

  .tool-side {
    position: relative;
    top: auto
  }

  .ocr-split {
    grid-template-columns: 1fr
  }

  .document-tool-head {
    grid-template-columns: 1fr
  }
}

@media(max-width:760px) {
  .hero-v2 {
    min-height: auto;
    padding-bottom: 130px
  }

  .hero-v2 h1 {
    font-size: clamp(3rem, 15vw, 5rem)
  }

  .hero-stage {
    min-height: 560px;
    transform: scale(.9);
    transform-origin: top center;
    margin: 0 -35px
  }

  .hero-doc {
    width: 170px
  }

  .hero-result {
    width: 180px
  }

  .hero-mascot-v2 {
    width: 190px
  }

  .hero-mini-metrics {
    display: none
  }

  .tool-library-grid {
    grid-template-columns: 1fr
  }

  .document-tool-page {
    padding-top: 120px
  }

  .document-tool-head h1 {
    font-size: 2.75rem
  }

  .tool-main,
  .tool-side {
    padding: 18px
  }

  .review-grid {
    grid-template-columns: 1fr
  }

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

  .mapping-grid {
    grid-template-columns: 1fr 30px 1fr
  }

  .section {
    padding: 78px 0
  }

  .card {
    padding: 24px
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero-doc,
  .hero-result,
  .hero-mascot-v2,
  .hero-core,
  .hero-orbit {
    animation: none !important
  }
}

.nav-dropdown-menu {
  display: grid
}

.dropdown-link>.icon-box {
  flex: 0 0 auto
}

.dropdown-link>span:last-child {
  font-size: .94rem;
  color: var(--deep);
  line-height: 1.25
}

.dropdown-link>span:last-child>span {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35
}

/* =========================================================
   AirDoc AI base — production spacing, typography and homepage
   ========================================================= */
:root {
  --container: min(1240px, calc(100% - 48px));
  --space-section: clamp(84px, 9vw, 132px);
  --heading-tracking: -.028em;
}

html {
  scroll-padding-top: 110px
}

body {
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  letter-spacing: var(--heading-tracking);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal
}

p {
  text-wrap: pretty
}

.section {
  padding: var(--space-section) 0
}

.section-title,
.inner-hero h1,
.article-header h1,
.document-tool-head h1,
.hero-v2 h1 {
  letter-spacing: var(--heading-tracking);
  line-height: 1.02
}

.section-title {
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  max-width: 960px
}

.section-copy {
  line-height: 1.68
}

.card h2,
.card h3,
.library-card h2,
.library-card h3 {
  letter-spacing: -.018em;
  line-height: 1.18
}

/* Header refinements */
.nav-shell {
  width: min(1320px, calc(100% - 32px));
  padding: 10px 12px 10px 18px
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.nav-login {
  font-weight: 680;
  color: var(--deep);
  padding: 10px 8px;
  border-radius: 10px;
  transition: .2s
}

.nav-login:hover,
.nav-login:focus-visible {
  color: var(--blue);
  background: var(--sky)
}

.nav-dropdown-menu {
  width: min(720px, 90vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px
}

.dropdown-link {
  min-width: 0;
  align-items: flex-start
}

.dropdown-link .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 13px
}

.dropdown-all {
  grid-column: 1/-1;
  background: #f4fbff
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px
}

.footer-badges span {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: .75rem;
  color: rgba(255, 255, 255, .78)
}

/* Home hero */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 150px 0 0;
  background: radial-gradient(circle at 79% 22%, rgba(34, 211, 238, .18), transparent 29%), radial-gradient(circle at 40% 82%, rgba(29, 161, 242, .11), transparent 30%), linear-gradient(180deg, #fff 0%, #f4fbff 78%, #fff 100%)
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 60, 93, .026) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 60, 93, .026) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 86%)
}

.home-hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  right: -130px;
  top: 90px;
  background: radial-gradient(circle, rgba(29, 161, 242, .2), rgba(34, 211, 238, .06) 40%, transparent 70%);
  filter: blur(10px);
  animation: heroGlow 8s ease-in-out infinite
}

@keyframes heroGlow {
  50% {
    transform: scale(1.08) translate(-16px, 12px);
    opacity: .78
  }
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(560px, 1.08fr);
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 690px
}

.home-hero-copy {
  padding: 24px 0 70px
}

.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(29, 161, 242, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 32px rgba(11, 60, 93, .06);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .025em
}

.home-hero h1 {
  font-size: clamp(4rem, 7.2vw, 7.65rem);
  line-height: .93;
  letter-spacing: -.038em;
  margin: 22px 0 28px;
  max-width: 820px
}

.home-hero h1 span {
  color: var(--blue)
}

.hero-lead {
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.66;
  max-width: 690px;
  color: #587185;
  margin: 0 0 30px
}

.trial-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  color: #5d7587;
  font-size: .88rem;
  max-width: 650px
}

.trial-note .icon {
  color: var(--success);
  margin-top: 2px
}

.automation-scene {
  position: relative;
  min-height: 620px;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform .2s linear
}

.automation-scene::before {
  content: "";
  position: absolute;
  inset: 8% 2% 3%;
  border-radius: 42%;
  background: radial-gradient(circle, rgba(215, 242, 255, .86), rgba(255, 255, 255, .2) 62%, transparent 72%);
  filter: blur(10px);
  z-index: -1
}

.scene-path {
  position: absolute;
  left: 18%;
  right: 13%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
  opacity: .75;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, .8));
  animation: pathPulse 3.2s ease-in-out infinite
}

.path-one {
  top: 43%;
  transform: rotate(-7deg)
}

.path-two {
  top: 57%;
  transform: rotate(8deg);
  animation-delay: -1.3s
}

@keyframes pathPulse {
  50% {
    opacity: .25;
    filter: drop-shadow(0 0 3px rgba(34, 211, 238, .3))
  }
}

.scene-card {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(29, 161, 242, .17);
  border-radius: 20px;
  box-shadow: 0 24px 58px rgba(11, 60, 93, .13);
  backdrop-filter: blur(16px);
  padding: 18px;
  animation: sceneFloat 7s ease-in-out infinite
}

@keyframes sceneFloat {
  50% {
    transform: translateY(-11px)
  }
}

.scene-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 760;
  margin-bottom: 11px
}

.scene-brand .icon {
  width: 17px;
  height: 17px
}

.inbox-card {
  left: 0;
  top: 18%;
  width: 230px;
  transform: rotate(-3deg)
}

.mail-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e8f0f5;
  font-size: .74rem
}

.mail-row small {
  color: var(--muted);
  white-space: nowrap
}

.scene-core {
  position: absolute;
  left: 45%;
  top: 49%;
  width: 235px;
  height: 235px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 4
}

.scene-core img {
  width: 205px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 30px 28px rgba(11, 60, 93, .22));
  animation: mascotBob 5.8s ease-in-out infinite
}

.scene-ring {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px solid rgba(29, 161, 242, .42);
  box-shadow: 0 0 0 16px rgba(29, 161, 242, .06), 0 0 70px rgba(34, 211, 238, .35);
  animation: ringSpin 14s linear infinite
}

.scene-ring::before,
.scene-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan)
}

.scene-ring::before {
  width: 10px;
  height: 10px;
  top: 7px;
  left: 48%
}

.scene-ring::after {
  width: 7px;
  height: 7px;
  bottom: 18px;
  right: 18px
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg)
  }
}

.invoice-card {
  right: 0;
  top: 7%;
  width: 270px;
  animation-delay: -1.4s
}

.invoice-demo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px
}

.invoice-card dl {
  margin: 0
}

.invoice-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #e8f0f5;
  font-size: .8rem
}

.invoice-card dt {
  color: var(--muted)
}

.invoice-card dd {
  margin: 0;
  font-weight: 720
}

.xero-card {
  right: 2%;
  bottom: 4%;
  width: 245px;
  animation-delay: -2.7s
}

.xero-card ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0
}

.xero-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: #557083;
  font-size: .8rem
}

.xero-card li .icon {
  color: var(--success);
  width: 16px;
  height: 16px
}

.scene-chip {
  position: absolute;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(29, 161, 242, .18);
  box-shadow: var(--shadow-sm);
  color: var(--deep);
  font-size: .75rem;
  font-weight: 740;
  animation: chipFloat 5s ease-in-out infinite
}

.chip-a {
  left: 38%;
  top: 8%
}

.chip-b {
  left: 25%;
  bottom: 10%;
  animation-delay: -2.1s
}

.hero-capabilities {
  position: relative;
  z-index: 3;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(29, 161, 242, .13);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -6px 40px rgba(11, 60, 93, .07);
  backdrop-filter: blur(14px)
}

.hero-capabilities div {
  padding: 23px 25px;
  border-right: 1px solid var(--line)
}

.hero-capabilities div:last-child {
  border-right: 0
}

.hero-capabilities strong,
.hero-capabilities span {
  display: block
}

.hero-capabilities strong {
  font-size: .92rem
}

.hero-capabilities span {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 3px
}

/* Intro video */
.video-section-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  gap: 70px;
  align-items: center
}

.video-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px
}

.video-copy .section-title {
  font-size: clamp(2.7rem, 5vw, 5rem)
}

.video-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  width: 100%
}

.video-points span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #567183;
  font-size: .88rem
}

.video-points .icon {
  color: var(--blue)
}

.video-poster {
  border: 0;
  background: #071f34;
  padding: 0;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 35px 85px rgba(11, 60, 93, .2);
  cursor: pointer;
  isolation: isolate
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 31, 52, .7));
  transition: .35s
}

.video-poster img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .6s var(--ease)
}

.video-poster:hover img {
  transform: scale(1.035)
}

.video-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .94);
  color: var(--blue);
  box-shadow: 0 18px 48px rgba(11, 60, 93, .25);
  transition: .3s
}

.video-play .icon {
  width: 30px;
  height: 30px;
  /* margin-left: 4px */
}

.video-poster:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08)
}

.video-duration {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 20px;
  color: #fff;
  font-weight: 700;
  font-size: .84rem
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 18, 32, .92);
  display: grid;
  place-items: center;
  padding: 70px 24px 24px;
  opacity: 0;
  visibility: hidden;
  transition: .28s
}

.video-modal.open {
  opacity: 1;
  visibility: visible
}

.video-modal-frame {
  width: min(1100px, 100%);
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .45)
}

.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0
}

.video-close {
  position: absolute;
  right: 25px;
  top: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: grid;
  place-items: center
}

.video-close:hover {
  background: rgba(255, 255, 255, .18)
}

/* Problem / solution */
.problem-solution {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px
}

.problem-panel,
.solution-panel {
  border-radius: 30px;
  padding: clamp(30px, 4vw, 54px)
}

.problem-panel {
  background: linear-gradient(145deg, #082e4b, #0b3c5d);
  color: #fff;
  box-shadow: var(--shadow)
}

.problem-panel .kicker {
  color: var(--cyan)
}

.problem-panel h2,
.solution-panel h2 {
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.03;
  margin: 12px 0 20px
}

.problem-panel>p {
  color: rgba(255, 255, 255, .72)
}

.pain-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: grid;
  gap: 12px
}

.pain-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, .86)
}

.pain-list .icon {
  color: #ff8c8c
}

.cost-line {
  display: block;
  color: var(--cyan);
  font-size: 1.05rem;
  margin-top: 24px
}

.solution-panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm)
}

.solution-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 32px
}

.solution-flow>div {
  text-align: center
}

.solution-flow strong {
  display: block;
  margin: 12px 0 6px
}

.solution-flow p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0
}

.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue);
  margin: auto
}

.flow-arrow {
  color: var(--blue);
  margin-top: 20px
}

/* Scroll workflow */
.workflow-heading,
.section-split-heading,
.pricing-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 60px
}

.workflow-heading .section-copy,
.pricing-heading .pricing-note {
  max-width: 460px
}

.scroll-workflow {
  display: grid;
  grid-template-columns: minmax(440px, .92fr) minmax(0, 1.08fr);
  gap: 70px;
  align-items: start;
  position: relative
}

.workflow-visual {
  position: sticky;
  top: 135px
}

.workflow-screen {
  position: relative;
  min-height: 610px;
  border: 1px solid rgba(29, 161, 242, .17);
  border-radius: 34px;
  background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, .14), transparent 38%), linear-gradient(160deg, #f9fdff, #eaf7ff);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 28px
}

.workflow-screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 750
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  color: var(--success)
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(26, 168, 120, .12)
}

.workflow-screen-body {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  max-width: 330px
}

.workflow-status {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 15px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(29, 161, 242, .1);
  color: #6b8291;
  transition: .4s
}

.workflow-status.active {
  background: #fff;
  color: var(--deep);
  transform: translateX(12px);
  box-shadow: 0 16px 34px rgba(11, 60, 93, .12);
  border-color: rgba(29, 161, 242, .3)
}

.workflow-status.active .icon {
  color: var(--blue)
}

.workflow-screen img {
  position: absolute;
  right: -6px;
  bottom: -12px;
  width: 270px;
  filter: drop-shadow(0 26px 30px rgba(11, 60, 93, .18))
}

.workflow-copy {
  display: grid;
  gap: 70px;
  padding: 10px 0 120px
}

.workflow-step {
  min-height: 260px;
  padding: 20px 0 20px 78px;
  position: relative;
  opacity: .45;
  transition: .4s
}

.workflow-step.active {
  opacity: 1;
  transform: translateX(8px)
}

.workflow-step>span {
  position: absolute;
  left: 0;
  top: 16px;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: #edf8ff;
  color: var(--blue);
  font-weight: 800
}

.workflow-step.active>span {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(29, 161, 242, .25)
}

.workflow-step h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 13px
}

.workflow-step p {
  font-size: 1.02rem;
  color: #60798b;
  max-width: 560px
}

.workflow-rail {
  position: absolute;
  left: calc(46% + 36px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e7f0f5;
  display: none
}

.workflow-rail span {
  display: block;
  height: 0;
  background: linear-gradient(var(--blue), var(--cyan));
  transition: height .4s
}

/* Security and cases */
.security-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: center
}

.security-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.security-cards article {
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .055);
  border-radius: 22px;
  padding: 25px;
  transition: .3s
}

.security-cards article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .085)
}

.security-cards article>span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(34, 211, 238, .12);
  color: var(--cyan)
}

.security-cards h3 {
  margin: 18px 0 8px
}

.security-cards p {
  color: rgba(255, 255, 255, .66);
  margin: 0;
  font-size: .9rem
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px
}

.case-card {
  min-height: 360px;
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(160deg, #0b3c5d, #082b46);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden
}

.case-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(34, 211, 238, .14);
  right: -70px;
  top: -70px
}

.case-card.featured {
  background: linear-gradient(150deg, #1da1f2, #0b67a5)
}

.case-card span {
  position: relative;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .72rem;
  font-weight: 760
}

.case-card h3 {
  position: relative;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.14;
  margin: 15px 0
}

.case-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, .72)
}

/* Pricing */
.pricing-note {
  font-size: .9rem;
  color: #60798b;
  border-left: 3px solid var(--blue);
  padding-left: 16px
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 27px 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: .3s;
  min-width: 0
}

.pricing-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 161, 242, .32)
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 24px 60px rgba(29, 161, 242, .2);
  transform: translateY(-10px)
}

.pricing-card.featured:hover {
  transform: translateY(-14px)
}

.pricing-badge {
  position: absolute;
  right: 18px;
  top: 17px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .66rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: .08em
}

.pricing-name {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
  font-weight: 800
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 17px 0 4px
}

.pricing-price strong {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -.035em
}

.pricing-price span {
  color: var(--muted);
  font-size: .8rem
}

.pricing-volume {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 14px 0
}

.pricing-volume strong {
  font-size: 1.35rem
}

.pricing-volume span {
  font-size: .76rem;
  color: var(--muted)
}

.pricing-card>p {
  font-size: .83rem;
  color: #637a8c;
  min-height: 84px
}

.pricing-features {
  list-style: none;
  margin: 6px 0 25px;
  padding: 0;
  display: grid;
  gap: 10px
}

.pricing-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: .77rem;
  color: #567083
}

.pricing-features .icon {
  width: 15px;
  height: 15px;
  color: var(--success);
  margin-top: 2px
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
  padding-inline: 12px
}

.pricing-footer-note {
  text-align: center;
  margin-top: 28px;
  color: #60798b
}

.pricing-footer-note a {
  color: var(--blue);
  font-weight: 750
}

.pricing-hero {
  padding-bottom: 80px
}

.pricing-comparison {
  margin-top: 80px
}

.comparison-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px
}

.comparison-head h2 {
  font-size: 2rem;
  margin: 0
}

.comparison-head p {
  margin: 0;
  color: var(--muted)
}

.pricing-table {
  min-width: 820px
}

.pricing-table td:first-child {
  font-weight: 760;
  color: var(--deep)
}

/* CTA */
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 25px;
  padding: 45px 58px
}

.cta-panel .cta-doc {
  position: relative;
  width: 205px;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, .2));
  align-self: end
}

.cta-panel>div {
  position: relative;
  z-index: 2
}

.cta-panel h2 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  letter-spacing: -.03em;
  line-height: .98;
  margin: 12px 0 18px
}

.cta-panel p {
  max-width: 700px;
  margin-bottom: 24px
}

/* FAQ spacing */
.faq-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: start
}

.faq-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  align-self: start;
}

@media(max-width: 1000px) {
  .faq-sidebar {
    position: static;
  }
}

.faq-layout .faq-list {
  display: grid;
  gap: 32px
}

.faq-group-title {
  font-size: 20px;
  font-weight: 750;
  color: var(--deep);
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.faq-group-list {
  display: grid;
  gap: 12px
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden
}

.faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 22px;
  color: var(--deep);
  font-weight: 740;
  text-align: left
}

.faq-question .icon {
  transition: .25s
}

.faq-item.open .faq-question .icon {
  transform: rotate(180deg)
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s
}

.faq-answer>p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px;
  color: #60798b
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr
}

.faq-item.open .faq-answer>p {
  padding-bottom: 22px
}

/* Better tools and form spacing */
.document-tool-page {
  padding-top: 160px
}

.document-tool-head {
  margin-bottom: 42px
}

.document-tool-head h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  margin: 12px 0 18px
}

.tool-workspace {
  gap: 28px
}

.tool-side,
.tool-main {
  border-radius: 30px
}

.tool-side,
.tool-main {
  padding: 30px
}

.field label {
  margin-bottom: 7px
}

.form-grid {
  gap: 18px
}

.library-card {
  min-height: 330px
}

.blog-cover img {
  transition: transform .5s var(--ease)
}

.blog-card:hover .blog-cover img {
  transform: scale(1.035)
}

.ocr-confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0
}

.ocr-confidence-card {
  background: #f5f9fc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px
}

.ocr-confidence-card span {
  display: block;
  font-size: .72rem;
  color: var(--muted)
}

.ocr-confidence-card strong {
  display: block;
  margin-top: 4px
}

.raw-text-panel {
  margin-top: 18px
}

.raw-text-panel summary {
  cursor: pointer;
  font-weight: 720;
  color: var(--blue)
}

.raw-text-panel pre {
  white-space: pre-wrap;
  max-height: 300px;
  overflow: auto;
  background: #f4f8fb;
  border-radius: 14px;
  padding: 14px;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #395a70
}

/* Responsive */
@media(max-width:1200px) {
  .site-nav {
    gap: 1px
  }

  .nav-link,
  .nav-drop-btn {
    padding-inline: 9px
  }

  .nav-login {
    display: none
  }

  .home-hero-grid {
    grid-template-columns: 1fr
  }

  .home-hero-copy {
    padding-bottom: 0
  }

  .automation-scene {
    min-height: 610px;
    max-width: 850px;
    width: 100%;
    margin: auto
  }

  .home-hero h1 {
    max-width: 1000px
  }

  .hero-capabilities {
    grid-template-columns: 1fr 1fr
  }

  .hero-capabilities div:nth-child(2) {
    border-right: 0
  }

  .hero-capabilities div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .pricing-card.featured {
    transform: none
  }

  .pricing-card.featured:hover {
    transform: translateY(-7px)
  }
}

@media(max-width:1000px) {
  .site-nav {
    display: none
  }

  .mobile-toggle {
    display: flex
  }

  .nav-actions {
    display: none
  }

  .video-section-grid,
  .problem-solution,
  .security-grid,
  .faq-layout {
    grid-template-columns: 1fr
  }

  .video-section-grid {
    gap: 42px
  }

  .solution-flow {
    grid-template-columns: 1fr
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: auto
  }

  .scroll-workflow {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .workflow-visual {
    position: relative;
    top: auto
  }

  .workflow-copy {
    padding-bottom: 0;
    gap: 20px
  }

  .workflow-step {
    min-height: auto;
    opacity: 1
  }

  .workflow-screen {
    min-height: 530px
  }

  .case-grid {
    grid-template-columns: 1fr
  }

  .case-card {
    min-height: 290px
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr
  }

  .workflow-heading,
  .section-split-heading,
  .pricing-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px
  }

  .cta-panel {
    grid-template-columns: 150px 1fr;
    padding: 40px
  }

  .cta-panel .cta-doc {
    width: 150px
  }
}

@media(max-width:760px) {
  :root {
    --container: min(100% - 28px, 1240px)
  }

  .home-hero {
    padding-top: 125px
  }

  .home-hero h1 {
    font-size: clamp(3.35rem, 15vw, 5.6rem);
    line-height: .96
  }

  .home-hero-grid {
    gap: 18px
  }

  .automation-scene {
    min-height: 620px;
    margin: 0 -16px;
    width: calc(100% + 32px);
    transform: scale(.9);
    transform-origin: top center
  }

  .inbox-card {
    left: 3%;
    top: 9%;
    width: 190px
  }

  .invoice-card {
    right: 1%;
    top: 4%;
    width: 220px
  }

  .xero-card {
    right: 2%;
    bottom: 3%;
    width: 210px
  }

  .scene-core {
    left: 43%;
    top: 51%;
    width: 190px;
    height: 190px
  }

  .scene-core img {
    width: 165px
  }

  .scene-chip {
    display: none
  }

  .hero-capabilities {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    border-radius: 20px 20px 0 0
  }

  .hero-capabilities div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 17px 20px
  }

  .hero-capabilities div:last-child {
    border-bottom: 0 !important
  }

  .video-points {
    grid-template-columns: 1fr
  }

  .problem-panel,
  .solution-panel {
    padding: 30px
  }

  .security-cards {
    grid-template-columns: 1fr
  }

  .pricing-grid {
    grid-template-columns: 1fr
  }

  .pricing-card>p {
    min-height: 0
  }

  .workflow-screen {
    min-height: 480px;
    padding: 22px
  }

  .workflow-screen img {
    width: 205px
  }

  .workflow-screen-body {
    max-width: 250px
  }

  .workflow-status {
    font-size: .78rem;
    padding: 12px
  }

  .workflow-step {
    padding-left: 66px
  }

  .workflow-step>span {
    width: 45px;
    height: 45px
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 34px 26px;
    text-align: left
  }

  .cta-panel .cta-doc {
    display: none
  }

  .comparison-head {
    align-items: flex-start;
    flex-direction: column
  }

  .tool-side,
  .tool-main {
    padding: 20px
  }

  .ocr-confidence-grid {
    grid-template-columns: 1fr 1fr
  }

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

@media(max-width:500px) {
  .home-hero-copy .hero-actions .btn {
    width: 100%
  }

  .trial-note {
    font-size: .8rem
  }

  .automation-scene {
    transform: scale(.78);
    margin-bottom: -110px;
    margin-top: -30px
  }

  .video-play {
    width: 66px;
    height: 66px
  }

  .video-poster {
    border-radius: 20px
  }

  .solution-flow>div {
    text-align: left;
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 12px
  }

  .solution-flow>div p {
    grid-column: 2
  }

  .step-icon {
    width: 52px;
    height: 52px;
    grid-row: 1/3
  }

  .pricing-price strong {
    font-size: 2.5rem
  }

  .case-card {
    padding: 28px
  }

  .ocr-confidence-grid {
    grid-template-columns: 1fr
  }
}

@media(prefers-reduced-motion:reduce) {

  .home-hero-glow,
  .scene-card,
  .scene-core img,
  .scene-ring,
  .scene-path,
  .scene-chip {
    animation: none !important
  }

  .automation-scene {
    transform: none !important
  }
}