:root {
  --navy-950: #01162e;
  --navy-900: #001b39;
  --navy-800: #07315b;
  --navy-700: #16466f;
  --teal-600: #008f8a;
  --teal-500: #00a49f;
  --teal-400: #13bbb3;
  --blue-500: #38bdf8;
  --ink: #07182c;
  --muted: #5d6d80;
  --line: #dce5ee;
  --line-soft: #eaf0f5;
  --surface: #f4f8fb;
  --surface-alt: #eef5f8;
  --white: #ffffff;
  --amber: #eaa43b;
  --shadow-sm: 0 8px 24px rgba(1, 22, 46, 0.08);
  --shadow-md: 0 22px 60px rgba(1, 22, 46, 0.13);
  --shadow-lg: 0 38px 100px rgba(0, 13, 31, 0.32);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1200px;
  --font: Inter, Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(0, 164, 159, 0.5);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 116px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--teal-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow-light {
  color: #7ee7e1;
}

.eyebrow-light::before {
  display: none;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 6px rgba(19, 187, 179, 0.14);
}

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

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2,
.choice-copy h2,
.portal-copy h2,
.pricing-copy h2,
.faq-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading p,
.choice-copy > p,
.portal-copy > p,
.pricing-copy > p,
.faq-heading > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 90px;
  align-items: end;
}

.split-heading p {
  margin-bottom: 4px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

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

.button-primary {
  color: var(--white);
  background: var(--teal-500);
  box-shadow: 0 10px 30px rgba(0, 164, 159, 0.24);
}

.button-primary:hover {
  background: #00948f;
  box-shadow: 0 14px 36px rgba(0, 164, 159, 0.3);
}

.button-ghost-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.button-white {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(0, 15, 35, 0.16);
}

.button-white:hover {
  background: #f5ffff;
}

.button-large {
  min-height: 56px;
  padding-inline: 27px;
  border-radius: 12px;
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.button-full {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(1, 22, 46, 0.08), 0 12px 40px rgba(1, 22, 46, 0.07);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  position: relative;
  z-index: 2;
  width: 142px;
}

.brand img {
  width: 100%;
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 0.9rem;
  font-weight: 650;
}

.main-nav > a:not(.button) {
  position: relative;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal-400);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav > a:not(.button):hover {
  opacity: 1;
}

.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.site-header:not(.is-scrolled) .nav-cta {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: none;
}

.menu-toggle {
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 850px;
  padding: 154px 0 0;
  color: var(--white);
  background:
    radial-gradient(circle at 73% 29%, rgba(0, 164, 159, 0.13), transparent 32%),
    linear-gradient(135deg, #01162e 0%, #021b39 55%, #00142c 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  content: "";
  opacity: 0.26;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to left, #000, transparent);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(30, 210, 198, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  top: -420px;
  right: -360px;
  width: 970px;
  height: 970px;
}

.hero-orbit-two {
  top: -185px;
  right: -105px;
  width: 550px;
  height: 550px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(610px, 1.14fr);
  gap: 66px;
  align-items: center;
}

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

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3.35rem, 5.55vw, 5.55rem);
  font-weight: 760;
  letter-spacing: -0.057em;
  line-height: 0.98;
}

.hero h1 span {
  color: #54ddd4;
}

.hero-lead {
  max-width: 610px;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 37px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--teal-400);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.hero-product {
  position: relative;
  width: 720px;
  min-width: 0;
  max-width: none;
}

.product-glow {
  position: absolute;
  z-index: -1;
  top: 16%;
  right: 4%;
  width: 70%;
  height: 64%;
  border-radius: 50%;
  background: rgba(0, 186, 179, 0.28);
  filter: blur(90px);
}

.app-window {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: #f5f8fb;
  box-shadow: var(--shadow-lg);
  transform: perspective(1800px) rotateY(-4deg) rotateX(1deg);
  transform-origin: left center;
}

.app-topbar {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: var(--white);
  background: var(--navy-950);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.app-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.app-top-actions,
.app-search {
  display: flex;
  align-items: center;
}

.app-top-actions {
  gap: 15px;
}

.app-search {
  width: 130px;
  height: 32px;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.43);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.62rem;
}

.app-search svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.app-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--navy-950);
  background: #82e6e1;
  font-size: 0.63rem;
  font-weight: 800;
  place-items: center;
}

.app-body {
  display: grid;
  grid-template-columns: 124px 1fr;
  min-height: 497px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 25px 13px;
  border-right: 1px solid #e5ebf0;
  background: #ffffff;
}

.side-item {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-radius: 7px;
  color: #7f8b99;
  font-size: 0.62rem;
}

.side-item i {
  width: 10px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.side-item b {
  font-weight: 600;
}

.side-item.is-active {
  color: var(--teal-600);
  background: #e5f8f6;
}

.app-content {
  position: relative;
  padding: 28px 30px 26px;
  color: var(--ink);
  background: #f4f7fa;
}

.app-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.app-heading small {
  color: #8b98a7;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.app-heading h2 {
  margin: 3px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.app-heading p {
  margin: 4px 0 0;
  color: #7b8793;
  font-size: 0.64rem;
}

.app-heading button {
  height: 31px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  color: var(--white);
  background: var(--teal-500);
  font-size: 0.58rem;
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.metric-card {
  position: relative;
  min-height: 105px;
  padding: 16px;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 3px 12px rgba(1, 22, 46, 0.03);
}

.metric-icon {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  place-items: center;
}

.metric-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.metric-icon-teal { color: #008f8a; background: #ddf7f5; }
.metric-icon-blue { color: #238ac0; background: #e2f4fd; }
.metric-icon-amber { color: #bc7916; background: #fff2d7; }

.metric-card > small {
  display: block;
  max-width: 70%;
  color: #6c7885;
  font-size: 0.54rem;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.34rem;
  letter-spacing: -0.05em;
  line-height: 1;
}

.metric-card em {
  display: block;
  margin-top: 8px;
  color: #84909c;
  font-size: 0.48rem;
  font-style: normal;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 10px;
  margin-top: 10px;
}

.dashboard-card {
  min-height: 178px;
  padding: 17px;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  background: var(--white);
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.58rem;
}

.card-title span {
  color: var(--teal-600);
  font-size: 0.48rem;
}

.calendar-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin: 4px 0;
  color: #607082;
  font-size: 0.47rem;
  text-align: center;
}

.calendar-head {
  color: #a2acb7;
  font-size: 0.42rem;
  font-weight: 700;
}

.calendar-row span {
  position: relative;
  display: grid;
  height: 19px;
  border-radius: 5px;
  place-items: center;
}

.calendar-row .today {
  color: var(--white);
  background: var(--teal-500);
  font-weight: 800;
}

.calendar-row .has-event::after {
  position: absolute;
  bottom: 1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  content: "";
  background: var(--teal-500);
}

.calendar-row .has-event.blue::after {
  background: #38a8df;
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: #83909e;
  font-size: 0.43rem;
}

.calendar-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-500);
}

.calendar-legend .blue-dot {
  margin-left: 7px;
  background: #38a8df;
}

.status-item {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #edf1f4;
}

.status-item:first-of-type {
  border-top: 0;
}

.status-icon {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #e2f6f4;
}

.status-icon.document { background: #e9effd; }
.status-icon.absence { background: #fff1dc; }

.status-item span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.status-item b {
  font-size: 0.52rem;
}

.status-item small {
  color: #8995a1;
  font-size: 0.43rem;
}

.status-item em {
  display: grid;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--teal-600);
  background: #e4f7f6;
  font-size: 0.45rem;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.demo-note {
  position: absolute;
  right: 31px;
  bottom: 8px;
  color: #9aa5af;
  font-size: 0.42rem;
}

.trust-line {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr repeat(6, auto);
  gap: 25px;
  align-items: center;
  min-height: 76px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.41);
  font-size: 0.72rem;
  font-weight: 650;
}

.trust-line > span:first-child {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 750;
}

.trust-line > div {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Problems */
.problem-section {
  background: var(--white);
}

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

.problem-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(1, 22, 46, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.problem-number {
  position: absolute;
  top: 22px;
  right: 26px;
  color: #e6edf2;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.problem-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 48px;
  border-radius: 15px;
  color: var(--teal-600);
  background: #e8f8f7;
  place-items: center;
}

.problem-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.problem-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.36rem;
  letter-spacing: -0.025em;
}

.problem-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* Feature bento */
.product-section {
  background: var(--surface);
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 40px;
  border: 1px solid rgba(1, 22, 46, 0.07);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(1, 22, 46, 0.04);
}

.feature-large,
.feature-wide {
  grid-column: 1 / -1;
}

.feature-large {
  display: grid;
  min-height: 520px;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
  color: var(--white);
  background: var(--navy-950);
}

.feature-large::after {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border: 90px solid rgba(0, 164, 159, 0.13);
  border-radius: 50%;
  content: "";
}

.feature-kicker {
  color: var(--teal-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-large .feature-kicker,
.feature-workflow .feature-kicker {
  color: #68ddd7;
}

.feature-card h3 {
  margin: 13px 0 0;
  color: var(--navy-950);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.feature-large h3,
.feature-workflow h3 {
  color: var(--white);
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-large p,
.feature-workflow p {
  color: rgba(255, 255, 255, 0.66);
}

.feature-copy > a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: #75e2dd;
  font-size: 0.9rem;
  font-weight: 750;
}

.people-ui {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 70px rgba(0, 8, 20, 0.32);
  transform: rotate(1.5deg);
}

.people-search {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #e0e7ed;
  border-radius: 8px;
  color: #9aa5af;
  font-size: 0.65rem;
}

.people-search span {
  width: 10px;
  height: 10px;
  border: 1.5px solid #8794a1;
  border-radius: 50%;
}

.people-head,
.person-row {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.5fr;
  align-items: center;
}

.people-head {
  margin-top: 15px;
  padding: 0 12px 8px;
  color: #9ba6b0;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.person-row {
  position: relative;
  min-height: 71px;
  padding: 10px 12px 10px 56px;
  border-top: 1px solid #edf1f4;
  font-size: 0.62rem;
}

.person-row .avatar {
  position: absolute;
  left: 11px;
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #126966;
  background: #d5f2ef;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.person-row .a2 { color: #255e86; background: #dceefa; }
.person-row .a3 { color: #806021; background: #f9ebcb; }

.person-row b {
  display: flex;
  flex-direction: column;
}

.person-row strong {
  font-size: 0.65rem;
}

.person-row small {
  color: #8b97a3;
  font-size: 0.52rem;
  font-weight: 400;
}

.person-row > span {
  color: #5c6a78;
}

.person-row > em {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 20px;
  color: #07817c;
  background: #def6f3;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 700;
}

.people-ui > small {
  display: block;
  margin-top: 9px;
  color: #a2abb3;
  font-size: 0.48rem;
  text-align: right;
}

.feature-calendar {
  color: var(--white);
  background: linear-gradient(145deg, #07315b, #0a416c);
}

.feature-calendar h3,
.feature-calendar .feature-kicker {
  color: var(--white);
}

.feature-calendar .feature-kicker {
  opacity: 0.6;
}

.feature-calendar p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.66);
}

.mini-timeline {
  position: absolute;
  right: 40px;
  bottom: 42px;
  left: 40px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.timeline-label,
.timeline-dates {
  display: flex;
  justify-content: space-between;
}

.timeline-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.67rem;
}

.timeline-label b {
  color: #7de3dd;
}

.timeline-track {
  display: grid;
  height: 6px;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 17px 0 9px;
}

.timeline-track i {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.17);
}

.timeline-track i:nth-child(-n + 3) { background: var(--teal-400); }
.timeline-track i.active { background: linear-gradient(90deg, var(--teal-400) 35%, rgba(255, 255, 255, 0.17) 35%); }

.timeline-dates {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.5rem;
  font-weight: 800;
}

.feature-docs {
  background: #edf8f7;
}

.document-stack {
  position: absolute;
  right: 46px;
  bottom: 48px;
  left: 46px;
  height: 105px;
}

.document-sheet {
  position: absolute;
  right: 0;
  left: 0;
  height: 84px;
  border: 1px solid #d7e5e6;
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.document-back { top: 18px; right: 26px; left: 26px; opacity: 0.55; }
.document-mid { top: 9px; right: 13px; left: 13px; opacity: 0.8; }
.document-front {
  z-index: 2;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 17px;
}

.document-front > i {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #1e6b72;
  background: #dcf3f1;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 850;
  place-items: center;
}

.document-front span { display: flex; flex-direction: column; }
.document-front b { font-size: 0.75rem; }
.document-front small { color: #85929e; font-size: 0.6rem; }
.document-front em {
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal-500);
  font-size: 0.7rem;
  font-style: normal;
  place-items: center;
}

.feature-reports {
  background: var(--white);
}

.report-visual {
  position: absolute;
  right: 40px;
  bottom: 39px;
  left: 40px;
  display: flex;
  height: 130px;
  align-items: flex-end;
  gap: 11px;
  padding: 20px 24px 30px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface);
}

.report-visual .bar {
  position: relative;
  flex: 1;
  height: 60%;
  border-radius: 6px 6px 2px 2px;
  background: #d8e6ef;
}

.report-visual .bar span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 54%;
  border-radius: inherit;
  background: var(--teal-500);
}

.report-visual .b2 { height: 82%; }
.report-visual .b2 span { height: 72%; }
.report-visual .b3 { height: 49%; }
.report-visual .b3 span { height: 66%; }
.report-visual .b4 { height: 92%; }
.report-visual .b4 span { height: 74%; }
.report-visual .b5 { height: 72%; }
.report-visual .b5 span { height: 85%; }

.report-files {
  position: absolute;
  right: 18px;
  bottom: -12px;
  display: flex;
  gap: 5px;
}

.report-files i {
  padding: 5px 8px;
  border: 1px solid #dce6ed;
  border-radius: 5px;
  color: #5f7180;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(1, 22, 46, 0.08);
  font-size: 0.47rem;
  font-style: normal;
  font-weight: 800;
}

.feature-wide {
  display: grid;
  min-height: 355px;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 65px;
  align-items: center;
  color: var(--white);
  background: linear-gradient(110deg, var(--navy-950), #082d52);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: space-between;
}

.workflow-node {
  display: flex;
  min-width: 105px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.workflow-node i {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #75e1dc;
  background: rgba(255, 255, 255, 0.07);
  place-items: center;
}

.workflow-node svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.workflow-node b { font-size: 0.76rem; }
.workflow-node small { margin-top: 3px; color: rgba(255, 255, 255, 0.44); font-size: 0.55rem; }
.workflow-arrow { color: rgba(255, 255, 255, 0.28); font-size: 1.2rem; }

/* Choice */
.choice-section {
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 90px;
  align-items: center;
}

.choice-copy h2 {
  color: var(--white);
}

.choice-copy > p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.64);
}

.choice-tabs {
  display: flex;
  width: fit-content;
  gap: 5px;
  margin-top: 36px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.choice-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.choice-tabs button[aria-selected="true"] {
  color: var(--navy-950);
  background: var(--white);
}

.choice-panel {
  display: flex;
  max-width: 580px;
  flex-direction: column;
  margin-top: 21px;
  padding-left: 18px;
  border-left: 2px solid var(--teal-400);
}

.choice-panel[hidden] { display: none; }
.choice-panel strong { color: #7ce4df; font-size: 0.88rem; }
.choice-panel span { margin-top: 3px; color: rgba(255, 255, 255, 0.51); font-size: 0.83rem; }

.choice-visual {
  display: grid;
  min-height: 500px;
  place-items: center;
}

.connection-map {
  position: relative;
  width: 440px;
  height: 440px;
}

.map-ring {
  position: absolute;
  border: 1px dashed rgba(93, 224, 216, 0.2);
  border-radius: 50%;
}

.ring-one { inset: 40px; }
.ring-two { inset: 100px; border-style: solid; border-color: rgba(93, 224, 216, 0.12); }

.map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  box-shadow: 0 30px 90px rgba(0, 198, 189, 0.16);
  transform: translate(-50%, -50%);
  place-items: center;
}

.map-center img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.map-node {
  position: absolute;
  display: flex;
  width: 94px;
  height: 94px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  color: #73dfda;
  background: #082b4d;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.map-node svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.map-node span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.66rem;
  font-weight: 700;
}

.node-cloud { top: 9px; left: 50%; transform: translateX(-50%); }
.node-office { right: 2px; bottom: 50px; }
.node-team { bottom: 50px; left: 2px; }

/* Security */
.security-section {
  background: var(--white);
}

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

.security-main,
.security-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.security-main {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 180px 1fr;
  gap: 38px;
  align-items: center;
  min-height: 300px;
  padding: 44px;
  background: var(--surface);
}

.security-main h3 {
  margin: 12px 0 0;
  color: var(--navy-950);
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.security-main p,
.security-item p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.7;
}

.security-shield {
  position: relative;
  display: grid;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 22px 52px rgba(1, 22, 46, 0.09);
  place-items: center;
}

.security-shield svg {
  z-index: 1;
  width: 62px;
  height: 62px;
  fill: none;
  stroke: var(--teal-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.shield-ring {
  position: absolute;
  inset: 17px;
  border: 1px dashed #b7dedb;
  border-radius: 50%;
}

.security-item {
  min-height: 300px;
  padding: 34px;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.security-item:hover {
  border-color: #bcdad8;
  transform: translateY(-3px);
}

.security-item > svg {
  width: 32px;
  height: 32px;
  margin-bottom: 52px;
  fill: none;
  stroke: var(--teal-600);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.security-item h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.23rem;
  letter-spacing: -0.025em;
}

/* Portal */
.portal-section {
  overflow: hidden;
  background: var(--surface-alt);
}

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

.portal-visual {
  position: relative;
  min-height: 620px;
}

.portal-visual::before {
  position: absolute;
  top: 50px;
  right: 0;
  left: 0;
  height: 480px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(0, 164, 159, 0.17), transparent 67%);
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: 310px;
  min-height: 600px;
  margin: 0 auto;
  padding: 23px 22px 28px;
  border: 8px solid var(--navy-950);
  border-radius: 45px;
  background: var(--white);
  box-shadow: 0 35px 75px rgba(1, 22, 46, 0.2);
  transform: rotate(-2deg);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy-950);
  font-size: 0.57rem;
  font-weight: 700;
}

.phone-top i {
  width: 30px;
  height: 6px;
  border-radius: 10px;
  background: var(--navy-950);
}

.phone-shell > img {
  width: 90px;
  margin-top: 25px;
}

.phone-welcome {
  display: flex;
  margin: 32px 0 24px;
  flex-direction: column;
}

.phone-welcome small {
  color: var(--teal-600);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.phone-welcome strong {
  margin-top: 6px;
  color: var(--navy-950);
  font-size: 1.26rem;
  letter-spacing: -0.035em;
}

.phone-welcome span {
  margin-top: 6px;
  color: #7c8996;
  font-size: 0.68rem;
  line-height: 1.5;
}

.phone-card {
  display: grid;
  min-height: 72px;
  grid-template-columns: 34px 1fr auto;
  gap: 11px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e5ebef;
  border-radius: 13px;
}

.phone-icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #def5f3;
}

.phone-icon.document { background: #e2eef9; }
.phone-icon.profile { background: #f8ecd4; }
.phone-card span { display: flex; flex-direction: column; }
.phone-card b { color: var(--navy-950); font-size: 0.68rem; }
.phone-card small { color: #8d98a2; font-size: 0.54rem; }
.phone-card em { color: #9ca7b0; font-size: 1.2rem; font-style: normal; }
.phone-demo { display: block; margin-top: 22px; color: #a0aab3; font-size: 0.5rem; text-align: center; }

.portal-badge {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 80px;
  display: flex;
  min-width: 220px;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #dce8ed;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.portal-badge > i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dff5f3;
  box-shadow: inset 0 0 0 10px var(--teal-500);
}

.portal-badge span { display: flex; flex-direction: column; }
.portal-badge b { color: var(--navy-950); font-size: 0.7rem; }
.portal-badge small { color: #83909b; font-size: 0.56rem; }

.portal-copy h2 {
  max-width: 650px;
}

.check-list {
  display: flex;
  gap: 18px;
  flex-direction: column;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--muted);
}

.check-list i {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: var(--teal-600);
  background: #dff5f3;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.check-list b {
  color: var(--navy-950);
}

/* Pricing */
.pricing-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), #05274a);
}

.pricing-section::after {
  position: absolute;
  top: -390px;
  right: -330px;
  width: 860px;
  height: 860px;
  border: 110px solid rgba(0, 164, 159, 0.09);
  border-radius: 50%;
  content: "";
}

.pricing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 100px;
  align-items: center;
}

.pricing-copy h2 {
  color: var(--white);
}

.pricing-copy > p {
  color: rgba(255, 255, 255, 0.64);
}

.pricing-note {
  display: flex;
  max-width: 600px;
  gap: 16px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.pricing-note svg {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #65ded8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.pricing-note b {
  display: block;
  color: var(--white);
}

.price-card {
  padding: 39px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3);
}

.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-card-head span {
  color: var(--teal-600);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.price-card-head em {
  padding: 5px 9px;
  border-radius: 20px;
  color: var(--navy-700);
  background: #e9f1f6;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 700;
}

.price {
  display: flex;
  align-items: flex-end;
  margin-top: 31px;
}

.price > small {
  position: absolute;
  margin-top: -18px;
  align-self: flex-start;
  color: #84909c;
  font-size: 0.62rem;
}

.price strong {
  color: var(--navy-950);
  font-size: 4.35rem;
  letter-spacing: -0.07em;
  line-height: 1;
}

.price sup {
  margin-right: 5px;
  font-size: 1.15rem;
  letter-spacing: 0;
  vertical-align: 1.9em;
}

.price > span {
  margin: 0 0 8px 9px;
  color: #71808e;
  font-size: 0.85rem;
}

.price-card > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.price-card > ul {
  display: flex;
  gap: 13px;
  flex-direction: column;
  margin: 28px 0;
  padding: 25px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: #33485d;
  font-size: 0.84rem;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-card li i {
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--teal-600);
  background: #dff5f3;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 850;
  place-items: center;
}

.price-footnote {
  display: block;
  margin-top: 14px;
  color: #8b97a3;
  font-size: 0.59rem;
  line-height: 1.5;
  text-align: center;
}

/* FAQ */
.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 110px;
}

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

.faq-heading h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.5rem);
}

.faq-heading > a {
  display: inline-flex;
  gap: 10px;
  margin-top: 27px;
  color: var(--teal-600);
  font-weight: 750;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--navy-950);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 720;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary span {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
  content: "";
  background: var(--teal-500);
  transition: transform 0.2s ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  margin: -3px 45px 27px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* CTA and footer */
.final-cta {
  padding: 0 0 100px;
  background: var(--white);
}

.final-cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 220px;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 50px 58px;
  border-radius: 25px;
  color: var(--white);
  background: linear-gradient(110deg, var(--teal-600), #00aaa5 55%, #03938f);
  box-shadow: 0 28px 70px rgba(0, 143, 138, 0.2);
}

.final-cta-inner > img {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.final-cta-inner > div:not(.cta-orbit) {
  position: relative;
  z-index: 1;
}

.final-cta-inner > div > span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-cta h2 {
  margin-top: 7px;
  color: var(--white);
  font-size: clamp(2rem, 3vw, 3rem);
}

.final-cta .button {
  position: relative;
  z-index: 1;
}

.cta-orbit {
  position: absolute;
  right: -110px;
  width: 440px;
  height: 440px;
  border: 60px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.site-footer {
  color: rgba(255, 255, 255, 0.62);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  padding-top: 70px;
  padding-bottom: 58px;
}

.footer-brand img {
  width: 150px;
}

.footer-brand p {
  margin: 15px 0 0;
  font-size: 0.85rem;
}

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

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

.footer-links strong {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.76rem;
}

.footer-links a {
  font-size: 0.76rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.67rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-one { transition-delay: 0.09s; }
.reveal-delay-two { transition-delay: 0.18s; }

/* Legal pages */
.legal-page {
  min-height: 100vh;
  background: var(--surface);
}

.legal-header {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line-soft);
}

.legal-header .brand img { filter: none; }

.legal-back {
  color: var(--teal-600);
  font-size: 0.86rem;
  font-weight: 750;
}

.legal-main {
  padding: 150px 0 100px;
}

.legal-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-article .eyebrow { margin-bottom: 15px; }
.legal-article h1 { margin: 0; color: var(--navy-950); font-size: clamp(2.4rem, 5vw, 4.1rem); letter-spacing: -0.05em; line-height: 1.03; }
.legal-article > p:first-of-type { margin-top: 22px; color: var(--muted); font-size: 1.05rem; }
.legal-article h2 { margin: 38px 0 10px; color: var(--navy-950); font-size: 1.25rem; letter-spacing: -0.025em; }
.legal-article p, .legal-article li { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.legal-article ul { padding-left: 20px; }
.legal-updated { display: block; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: #8b97a3; font-size: 0.72rem; }

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(550px, 1.12fr);
    gap: 36px;
  }

  .hero-product {
    width: 660px;
  }

  .app-body { grid-template-columns: 108px 1fr; }
  .app-content { padding-inline: 23px; }
  .feature-large { gap: 35px; }
  .pricing-grid { gap: 60px; }
}

@media (max-width: 1020px) {
  .section { padding: 96px 0; }
  .header-inner { height: 74px; }
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    width: min(420px, 100%);
    height: 100dvh;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 100px 34px 40px;
    color: var(--navy-950);
    background: var(--white);
    box-shadow: -20px 0 50px rgba(1, 22, 46, 0.16);
    transform: translateX(105%);
    transition: transform 0.3s ease;
  }

  .main-nav.is-open { transform: translateX(0); }
  .main-nav > a:not(.button) { padding: 13px 5px; border-bottom: 1px solid var(--line-soft); opacity: 1; font-size: 1.05rem; }
  .nav-cta { margin-top: 20px; }
  .site-header:not(.is-scrolled) .menu-toggle[aria-expanded="true"] { color: var(--navy-950); }

  .hero {
    padding-top: 135px;
  }

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

  .hero-copy {
    max-width: 780px;
    padding-bottom: 25px;
  }

  .hero-product {
    position: relative;
    width: 100%;
    max-width: 780px;
    min-width: 0;
    margin: 0 auto;
  }

  .app-window { transform: none; }
  .trust-line { grid-template-columns: auto 1fr repeat(3, auto); }
  .trust-line span:nth-last-child(-n + 3) { display: none; }

  .split-heading { grid-template-columns: 1fr; gap: 0; }
  .split-heading p { max-width: 720px; }
  .feature-large { grid-template-columns: 1fr; gap: 42px; }
  .people-ui { max-width: 680px; transform: none; }
  .feature-wide { grid-template-columns: 1fr; gap: 42px; }
  .workflow { max-width: 680px; }

  .choice-grid { grid-template-columns: 1fr; gap: 55px; }
  .choice-visual { min-height: 430px; }

  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .security-main { grid-column: 1 / -1; }

  .portal-grid { gap: 60px; }
  .portal-badge { right: -20px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-copy { max-width: 760px; }
  .price-card { width: min(100%, 560px); }

  .faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .faq-heading { position: static; max-width: 680px; }

  .final-cta-inner { grid-template-columns: 80px 1fr; }
  .final-cta .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 78px 0; }
  .brand { width: 125px; }
  .hero { min-height: 0; padding-top: 118px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-points { gap: 10px; flex-direction: column; }
  .hero-product { margin-top: 10px; }
  .app-window { position: absolute; top: 0; left: 0; width: 650px; min-width: 0; transform: scale(0.82); transform-origin: left top; }
  .hero-product { height: 470px; overflow: hidden; }
  .trust-line { display: flex; overflow: hidden; gap: 22px; margin-top: 0; white-space: nowrap; }
  .trust-line > div { display: none; }

  .section-heading { margin-bottom: 42px; }
  .section-heading h2,
  .choice-copy h2,
  .portal-copy h2,
  .pricing-copy h2,
  .faq-heading h2 { font-size: clamp(2rem, 10vw, 3rem); }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 0; }
  .problem-icon { margin-bottom: 35px; }

  .feature-bento { grid-template-columns: 1fr; }
  .feature-card { min-height: 430px; padding: 30px; }
  .feature-large, .feature-wide { grid-column: auto; }
  .feature-large { min-height: 710px; }
  .people-head, .person-row { grid-template-columns: 1fr 0.55fr; }
  .people-head span:nth-child(2), .person-row > span { display: none; }
  .people-head span:last-child { text-align: right; }
  .person-row > em { justify-self: end; }
  .mini-timeline { right: 28px; bottom: 30px; left: 28px; }
  .document-stack { right: 28px; bottom: 38px; left: 28px; }
  .report-visual { right: 28px; bottom: 30px; left: 28px; }

  .feature-wide { min-height: 680px; }
  .workflow { grid-template-columns: 1fr 1fr; gap: 25px; }
  .workflow-arrow { display: none; }

  .choice-visual { min-height: 360px; }
  .connection-map { width: 350px; height: 350px; transform: scale(0.94); }
  .map-node { width: 80px; height: 80px; }
  .node-cloud { top: -8px; }

  .security-grid { grid-template-columns: 1fr; }
  .security-main { grid-column: auto; grid-template-columns: 1fr; }
  .security-shield { width: 130px; height: 130px; }
  .security-item { min-height: 260px; }
  .security-item > svg { margin-bottom: 38px; }

  .portal-grid { grid-template-columns: 1fr; }
  .portal-visual { min-height: 610px; }
  .portal-badge { right: 0; bottom: 55px; }
  .phone-shell { width: 290px; }

  .price-card { padding: 30px 25px; }
  .price strong { font-size: 3.8rem; }

  .final-cta { padding-bottom: 70px; }
  .final-cta-inner { min-height: 370px; grid-template-columns: 1fr; gap: 20px; padding: 42px 30px; text-align: center; }
  .final-cta-inner > img { margin: 0 auto; }
  .final-cta .button { grid-column: auto; justify-self: stretch; }

  .footer-main { grid-template-columns: 1fr; gap: 50px; }
  .footer-links { gap: 22px; }
  .footer-bottom { gap: 12px; align-items: flex-start; flex-direction: column; justify-content: center; }

  .legal-main { padding: 120px 0 70px; }
  .legal-article { padding: 35px 25px; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 24px, var(--container)); }
  .header-inner { height: 68px; }
  .hero { padding-top: 105px; }
  .hero h1 { font-size: 2.85rem; }
  .hero-copy { padding-bottom: 10px; }
  .hero .eyebrow { max-width: 100%; font-size: 0.64rem; letter-spacing: 0.09em; line-height: 1.45; }
  .hero-product { height: 350px; }
  .app-window { transform: scale(0.56); }
  .trust-line { min-height: 66px; }
  .feature-card { padding: 25px; }
  .feature-large { min-height: 690px; }
  .people-ui { padding: 14px; }
  .person-row { padding-left: 50px; }
  .feature-calendar { min-height: 470px; }
  .feature-docs, .feature-reports { min-height: 460px; }
  .document-front { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 13px; }
  .document-front > i { width: 38px; height: 38px; }
  .connection-map { transform: scale(0.82); }
  .security-main { padding: 30px; }
  .portal-badge { min-width: 195px; }
  .phone-shell { width: 270px; }
  .price-card-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .price strong { font-size: 3.45rem; }
  .faq-list summary { min-height: 78px; font-size: 0.92rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

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