:root {
  --bg-page: #eef4fb;
  --bg-elevated: #ffffff;
  --bg-muted: #e6eef8;
  --bg-soft-blue: #f1f6ff;

  --text-primary: #10243a;
  --text-secondary: #3b4f65;
  --text-tertiary: #607489;

  --brand-700: #0f5ac9;
  --brand-600: #1b71e6;
  --brand-500: #3487f1;
  --teal-600: #1c9783;
  --teal-500: #2eb29b;

  --line-soft: #cfdcea;
  --line-strong: #b4c8de;
  --line-focus: #0f5ac9;

  --shadow-card: 0 18px 35px rgba(25, 62, 107, 0.09);
  --shadow-floating: 0 12px 26px rgba(16, 40, 72, 0.14);
  --glow-blue: rgba(69, 135, 255, 0.42);
  --glow-teal: rgba(43, 181, 164, 0.34);

  --radius-2xl: 30px;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;

  --nav-height: 84px;
  --container-width: min(1140px, calc(100vw - 40px));
  --grid-gap: clamp(14px, 1.8vw, 22px);
  --grid-gap-lg: clamp(20px, 2.6vw, 34px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Figtree", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text-primary);
  line-height: 1.72;
  letter-spacing: 0.004em;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% -4%, rgba(59, 127, 236, 0.2), transparent 34%),
    radial-gradient(circle at 2% 24%, rgba(40, 170, 149, 0.14), transparent 30%),
    linear-gradient(180deg, #f6faff 0%, var(--bg-page) 52%, #edf3fb 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Noto Serif SC", "Figtree", "Noto Sans SC", serif;
  letter-spacing: -0.014em;
}

p {
  margin: 0;
}

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

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

button {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: #ffffff;
  color: #101820;
  border: 1px solid #d6e1ec;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  background: rgba(243, 248, 254, 0.95);
  border-bottom: 1px solid rgba(172, 193, 214, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(38, 73, 116, 0.08);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #c3d4e6;
  box-shadow: 0 8px 14px rgba(48, 89, 134, 0.14);
}

.brand span {
  display: grid;
  line-height: 1.25;
}

.brand strong {
  font-family: "Figtree", "Noto Sans SC", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.brand small {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.desktop-nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--brand-700);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(170, 192, 216, 0.38);
  background: rgba(18, 32, 48, 0.34);
}

.lang-link {
  min-width: 36px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9fb5cd;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.lang-link:hover,
.lang-link:focus-visible {
  color: #f2f8ff;
  background: rgba(86, 126, 169, 0.28);
}

.lang-link.active {
  color: #f3f8ff;
  background: linear-gradient(135deg, rgba(53, 108, 180, 0.9), rgba(41, 159, 176, 0.9));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #1b3f67;
  transition: transform 220ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle.open span:first-child {
  transform: rotate(45deg);
}

.menu-toggle.open span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(var(--nav-height) - 8px);
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid #c4d5e8;
  background: rgba(246, 250, 255, 0.98);
  box-shadow: var(--shadow-floating);
  gap: 8px;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #274664;
  font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: #e4eef9;
  color: #163e70;
}

.mobile-lang-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}

.mobile-lang-switch .lang-link {
  min-width: 0;
  width: 100%;
  height: 34px;
  padding: 0;
  font-size: 0.82rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 20px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.88rem;
  border-color: #bfd0e4;
  background: rgba(255, 255, 255, 0.84);
  color: #1f4269;
}

.btn.mobile-btn {
  margin-top: 2px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #ffffff;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #ffffff;
  box-shadow: 0 12px 20px rgba(24, 90, 188, 0.25);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: #bfd2e7;
  color: #1f4266;
}

.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 44px);
  padding-bottom: 78px;
}

.hero-gradient {
  position: absolute;
  inset: 14% -8% auto;
  height: 420px;
  background:
    radial-gradient(circle at 78% 24%, rgba(28, 137, 211, 0.24), transparent 40%),
    radial-gradient(circle at 20% 50%, rgba(35, 164, 143, 0.2), transparent 42%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap-lg);
  align-items: start;
}

.hero-copy {
  grid-column: span 7;
}

.pill,
.kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 102, 197, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1555a8;
  background: rgba(218, 232, 251, 0.86);
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: #0d2540;
  text-wrap: balance;
}

.hero-subtitle {
  margin-top: 20px;
  color: #2f4a67;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  max-width: 64ch;
}

.hero-points {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  padding: 9px 14px;
  color: #1f456a;
  border: 1px solid #cad9eb;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.hero-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), #52c8b3);
  flex: 0 0 auto;
}

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

.hero-note {
  margin-top: 16px;
  color: #5b738b;
  font-size: 0.88rem;
}

.hero-visual {
  margin: 0;
  grid-column: span 5;
  padding: 18px;
  border-radius: var(--radius-2xl);
  border: 1px solid #c7d7e9;
  background: linear-gradient(180deg, #fbfdff 0%, #edf4fc 100%);
  box-shadow: var(--shadow-card);
}

.hero-visual img {
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid #d0dfef;
}

.hero-visual figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #557089;
}

.section {
  padding: 102px 0;
}

.section-head {
  max-width: 860px;
  margin: 0 0 44px;
  text-align: left;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.86rem, 3.6vw, 3.4rem);
  line-height: 1.14;
  color: #123353;
  text-wrap: balance;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-secondary);
}

.section-positioning {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(235, 243, 252, 0.8) 100%);
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.positioning-grid > * {
  grid-column: span 4;
}

.info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #c9d9eb;
  border-radius: var(--radius-xl);
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(41, 76, 117, 0.07);
}

.info-card h3 {
  font-size: 1.2rem;
  color: #123251;
}

.info-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.info-card li {
  color: #3d5168;
  padding-left: 18px;
  position: relative;
  line-height: 1.65;
}

.info-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f7be8, #30b59e);
}

.section-capabilities {
  background: linear-gradient(180deg, #edf4fc 0%, #f4f8fd 50%, #eaf1fb 100%);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.capability-grid > * {
  grid-column: span 4;
}

.capability-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #cbdaec;
  border-radius: var(--radius-lg);
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 11px 24px rgba(45, 79, 122, 0.07);
}

.capability-card h3 {
  font-size: 1.15rem;
  color: #143758;
}

.capability-card p {
  margin-top: 10px;
  color: #41576f;
  line-height: 1.72;
}

.section-workflow {
  background: linear-gradient(180deg, #f5f9fe 0%, #edf4fd 100%);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap-lg);
  align-items: stretch;
}

.workflow-copy {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  min-height: clamp(600px, 54vw, 820px);
  border: 1px solid #bfd2e8;
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 2.8vw, 36px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 249, 255, 0.95) 56%, rgba(234, 244, 253, 0.93) 100%),
    #ffffff;
  box-shadow: 0 18px 30px rgba(33, 67, 108, 0.12);
  display: flex;
  flex-direction: column;
}

.workflow-copy::before {
  content: "FLOW";
  position: absolute;
  right: 20px;
  top: 16px;
  font-family: "Figtree", "Noto Sans SC", sans-serif;
  font-size: clamp(3.5rem, 7.6vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(22, 88, 178, 0.08);
  pointer-events: none;
}

.workflow-copy::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 139, 236, 0.2) 0%, rgba(57, 139, 236, 0) 70%);
  pointer-events: none;
}

.workflow-head {
  position: relative;
  z-index: 1;
  max-width: 44ch;
}

.workflow-head h2 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: #0f2f4d;
  text-wrap: balance;
  max-width: 11ch;
}

.workflow-intro {
  margin-top: 14px;
  max-width: 40ch;
  color: #38506a;
  font-size: 1.02rem;
  line-height: 1.74;
}

.workflow-list {
  position: relative;
  z-index: 1;
  counter-reset: workflow-step;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  align-content: start;
}

.workflow-list li {
  position: relative;
  border: 1px solid #c8d8eb;
  border-radius: var(--radius-lg);
  padding: 20px 18px 20px 64px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95)),
    #ffffff;
  box-shadow: 0 10px 18px rgba(38, 70, 109, 0.07);
}

.workflow-list li::before {
  counter-increment: workflow-step;
  content: counter(workflow-step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Figtree", "Noto Sans SC", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f4c98;
  background: linear-gradient(145deg, #e8f1ff, #d4e7fd);
  border: 1px solid #b5d0ee;
}

.workflow-list li::after {
  content: "";
  position: absolute;
  left: 33px;
  top: 58px;
  bottom: -15px;
  width: 1px;
  background: linear-gradient(180deg, rgba(36, 111, 198, 0.42), rgba(36, 111, 198, 0));
}

.workflow-list li:last-child::after {
  display: none;
}

.workflow-list h3 {
  font-size: 1.02rem;
  color: #133354;
}

.workflow-list p {
  margin-top: 7px;
  color: #3e546d;
  font-size: 0.95rem;
}

.carousel {
  grid-column: span 6;
  width: 100%;
  border: 1px solid #c7d8eb;
  border-radius: var(--radius-xl);
  padding: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.section-workflow .carousel {
  max-width: 530px;
  justify-self: end;
}

.carousel-slide {
  display: none;
  margin: 0;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #d1e0f0;
}

.carousel-slide figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: #4f6a84;
}

.carousel-controls {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-arrow {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #c1d3e7;
  background: #f5f9ff;
  color: #1f456a;
  font-size: 0.86rem;
  cursor: pointer;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: #e6f0fc;
}

.carousel-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #b0c5dc;
  transition: transform 180ms ease, background-color 180ms ease;
}

.dot.active {
  background: linear-gradient(135deg, var(--brand-700), var(--teal-500));
  transform: scale(1.15);
}

.section-scenarios {
  background: linear-gradient(180deg, #ecf3fc 0%, #f3f8fe 100%);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.scenario-grid > * {
  grid-column: span 3;
}

.scenario-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #cadaec;
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
}

.scenario-card h3 {
  font-size: 1.06rem;
  color: #15395b;
}

.scenario-card p {
  margin-top: 9px;
  color: #3f546d;
  font-size: 0.93rem;
}

.section-screenshots {
  background: linear-gradient(180deg, #f4f8fe 0%, #edf4fd 100%);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.screen-grid > * {
  grid-column: span 3;
}

.screen-grid figure {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid #ccdbed;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(35, 71, 113, 0.06);
}

.screen-grid img {
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #d0dff0;
}

.screen-grid figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #546d86;
}

.section-security {
  background: linear-gradient(180deg, #edf4fd 0%, #e8f0fa 100%);
}

.security-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.security-panel {
  grid-column: span 7;
  height: 100%;
  border: 1px solid #c8d9ec;
  border-radius: var(--radius-xl);
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 70, 111, 0.08);
}

.security-panel h3 {
  font-size: 1.22rem;
  color: #143758;
}

.security-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #41566d;
}

.security-panel li {
  margin-bottom: 8px;
}

.security-panel p {
  margin-top: 12px;
  color: #4f6781;
  font-size: 0.92rem;
}

.policy-links {
  grid-column: span 5;
  display: grid;
  gap: var(--grid-gap);
  align-items: stretch;
}

.policy-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #cad9ec;
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #ffffff;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.policy-link:hover,
.policy-link:focus-visible {
  transform: translateY(-2px);
  border-color: #9dbbe0;
  box-shadow: 0 10px 20px rgba(34, 71, 112, 0.12);
}

.policy-link h4 {
  font-size: 1.05rem;
  color: #15395c;
}

.policy-link p {
  margin-top: 8px;
  color: #465c75;
  font-size: 0.92rem;
}

.section-faq {
  background: linear-gradient(180deg, #edf4fd 0%, #f6fafe 100%);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.faq-list > * {
  grid-column: span 4;
}

.faq-list article {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #cbdaec;
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
}

.faq-list h3 {
  font-size: 1.02rem;
  color: #15395c;
}

.faq-list p {
  margin-top: 9px;
  color: #40566f;
  font-size: 0.93rem;
}

.section-cta {
  padding-top: 84px;
  background: linear-gradient(180deg, #f5f9fe 0%, #ebf3fc 100%);
}

.cta-panel {
  border-radius: var(--radius-2xl);
  border: 1px solid #b8cfe6;
  padding: clamp(24px, 3.6vw, 40px);
  background:
    radial-gradient(circle at 10% 2%, rgba(30, 117, 223, 0.16), transparent 40%),
    radial-gradient(circle at 90% 86%, rgba(41, 175, 153, 0.16), transparent 36%),
    #ffffff;
  box-shadow: 0 18px 30px rgba(31, 66, 107, 0.12);
}

.cta-panel h2 {
  margin-top: 12px;
  font-size: clamp(1.78rem, 3.4vw, 3rem);
  line-height: 1.16;
}

.cta-panel p {
  margin-top: 12px;
  max-width: 66ch;
  color: #3b5269;
}

.site-footer {
  border-top: 1px solid #c4d6e8;
  padding: 70px 0 34px;
  background: #e9f2fc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 22px;
}

.footer-grid h3 {
  font-size: 1.24rem;
  color: #173b5f;
}

.footer-grid h4 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5f7791;
}

.footer-grid p {
  margin-top: 10px;
  color: #456079;
}

.footer-grid a {
  display: block;
  margin-top: 8px;
  color: #3f5972;
  font-size: 0.94rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #0e4fae;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #c8d8eb;
}

.footer-bottom p {
  font-size: 0.86rem;
  color: #5f7891;
}

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  gap: 9px;
  padding: 9px;
  border-radius: 14px;
  border: 1px solid #b8cce2;
  background: rgba(245, 250, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 22px rgba(26, 55, 88, 0.18);
}

.sticky-primary,
.sticky-secondary {
  flex: 1;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 12px;
}

.sticky-primary {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #ffffff;
}

.sticky-secondary {
  border: 1px solid #bed0e4;
  background: #ffffff;
  color: #1d4368;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 660ms cubic-bezier(0.16, 1, 0.3, 1), transform 660ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

:focus-visible {
  outline: 2px solid var(--line-focus);
  outline-offset: 3px;
}

/* Legal Pages */
.legal-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(49, 126, 236, 0.16), transparent 40%),
    radial-gradient(circle at 0% 20%, rgba(45, 173, 152, 0.12), transparent 34%),
    #eef4fb;
}

.legal-shell {
  width: min(920px, calc(100vw - 28px));
  margin-inline: auto;
  padding: 32px 0 58px;
}

.legal-top {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #bfd2e7;
  background: rgba(255, 255, 255, 0.9);
  color: #23486d;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-card {
  border: 1px solid #bfd2e7;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 16px 30px rgba(34, 70, 112, 0.1);
}

.legal-card h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #133557;
}

.legal-meta {
  margin-top: 12px;
  color: #607891;
  font-size: 0.92rem;
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 1.32rem;
  color: #183d60;
}

.legal-card p,
.legal-card li {
  margin-top: 10px;
  color: #3e546b;
  line-height: 1.82;
}

.legal-card ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.legal-card a {
  color: #0d57be;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Dark Theme */
:root {
  --bg-page: #060c16;
  --bg-elevated: #0f1827;
  --bg-muted: #142033;
  --bg-soft-blue: #17263b;
  --text-primary: #e8f0fa;
  --text-secondary: #a8b8cd;
  --text-tertiary: #7f92ab;
  --line-soft: rgba(155, 178, 206, 0.28);
  --line-strong: rgba(176, 198, 224, 0.45);
  --line-focus: #67a3ff;
  --shadow-card: 0 20px 32px rgba(0, 0, 0, 0.34);
  --shadow-floating: 0 14px 24px rgba(0, 0, 0, 0.4);
}

body {
  color: var(--text-primary);
  background:
    radial-gradient(circle at 88% -4%, rgba(62, 127, 223, 0.28), transparent 36%),
    radial-gradient(circle at 4% 20%, rgba(37, 158, 139, 0.2), transparent 34%),
    linear-gradient(180deg, #040810 0%, #070d17 50%, #09101a 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(115deg, transparent 0%, rgba(69, 135, 255, 0.11) 42%, transparent 78%),
    linear-gradient(210deg, transparent 18%, rgba(43, 181, 164, 0.08) 64%, transparent 90%);
}

body::after {
  background-image: linear-gradient(rgba(127, 152, 181, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 152, 181, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02) 68%, transparent 100%);
  opacity: 0.26;
}

.site-header.scrolled {
  background: rgba(8, 13, 22, 0.9);
  border-bottom: 1px solid rgba(125, 153, 185, 0.32);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.brand strong {
  color: #f0f5ff;
}

.brand small {
  color: #8ca1bb;
}

.desktop-nav a {
  color: #aab7c9;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #f0f5ff;
}

.lang-switch {
  border-color: rgba(128, 156, 188, 0.5);
  background: rgba(15, 24, 37, 0.74);
}

.lang-link {
  color: #9cb3cb;
}

.lang-link:hover,
.lang-link:focus-visible {
  color: #eff6ff;
  background: rgba(74, 114, 156, 0.34);
}

.mobile-lang-switch .lang-link {
  border: 1px solid rgba(128, 157, 189, 0.42);
}

.mobile-nav {
  border-color: rgba(129, 156, 186, 0.42);
  background: rgba(11, 18, 30, 0.96);
}

.mobile-nav a {
  color: #aac0d8;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: rgba(119, 155, 198, 0.2);
  color: #f0f6ff;
}

.menu-toggle {
  border-color: rgba(134, 163, 195, 0.42);
  background: rgba(13, 21, 33, 0.9);
}

.menu-toggle span {
  background: #dce8f8;
}

.btn.small {
  border-color: rgba(145, 174, 205, 0.4);
  background: rgba(18, 29, 46, 0.78);
  color: #e4edfb;
}

.btn.primary {
  background: linear-gradient(135deg, #2f71d7, #2d9cdf);
  box-shadow: 0 12px 22px rgba(35, 115, 212, 0.35);
}

.btn.secondary {
  border-color: rgba(138, 166, 197, 0.42);
  background: rgba(17, 28, 44, 0.78);
  color: #d9e7f9;
}

.pill,
.kicker {
  border-color: rgba(99, 150, 226, 0.48);
  color: #add1ff;
  background: rgba(46, 83, 130, 0.36);
}

.hero-subtitle {
  color: #b7c7da;
}

.hero-copy h1 {
  color: #f2f7ff;
  background: linear-gradient(140deg, #f8fbff 0%, #d7e9ff 45%, #9cd6d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  max-width: 12ch;
}

.hero-points span {
  color: #d7e5f8;
  border-color: rgba(134, 165, 198, 0.34);
  background: rgba(16, 27, 43, 0.7);
}

.hero-note {
  color: #95a8bf;
}

.hero-visual {
  border-color: rgba(126, 156, 187, 0.35);
  background: linear-gradient(180deg, rgba(17, 28, 43, 0.9), rgba(12, 20, 31, 0.9));
}

.hero-visual img {
  border-color: rgba(145, 172, 201, 0.28);
}

.hero-visual figcaption {
  color: #9cb2cb;
}

.section-head h2 {
  color: #f0f5fe;
}

.section-head p {
  color: #aab9cd;
}

.section-positioning {
  background: linear-gradient(180deg, #08101a 0%, #0a1421 100%);
}

.section-capabilities {
  background: linear-gradient(180deg, #09121e 0%, #0b1625 50%, #09121f 100%);
}

.section-workflow {
  background: linear-gradient(180deg, #08111d 0%, #0a1524 100%);
}

.section-scenarios {
  background: linear-gradient(180deg, #09131f 0%, #0b1524 100%);
}

.section-screenshots {
  background: linear-gradient(180deg, #09121d 0%, #0a1320 100%);
}

.section-security {
  background: linear-gradient(180deg, #08111b 0%, #0b1420 100%);
}

.section-faq {
  background: linear-gradient(180deg, #0a1320 0%, #0b1726 100%);
}

.section-cta {
  background: linear-gradient(180deg, #0a1320 0%, #09131f 100%);
}

.section {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(112, 144, 180, 0) 0%, rgba(112, 144, 180, 0.44) 40%, rgba(63, 160, 146, 0.36) 100%);
}

.section-head .kicker {
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.25);
}

.section-head h2 {
  max-width: 18ch;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.section-head p {
  max-width: 66ch;
}

@media (min-width: 1101px) {
  .capability-grid > :nth-child(1),
  .capability-grid > :nth-child(2) {
    grid-column: span 6;
  }

  .capability-grid > :nth-child(6) {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 26px;
  }

  .capability-grid > :nth-child(6) p {
    max-width: 64ch;
  }
}

.info-card,
.capability-card,
.scenario-card,
.screen-grid figure,
.security-panel,
.policy-link,
.faq-list article {
  position: relative;
  overflow: hidden;
  border-color: rgba(132, 160, 191, 0.32);
  background: rgba(15, 24, 38, 0.92);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.info-card::before,
.capability-card::before,
.scenario-card::before,
.screen-grid figure::before,
.security-panel::before,
.policy-link::before,
.faq-list article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(74, 130, 205, 0) 0%, rgba(74, 130, 205, 0.9) 45%, rgba(53, 173, 153, 0.9) 100%);
  opacity: 0.72;
}

.info-card::after,
.capability-card::after,
.scenario-card::after,
.screen-grid figure::after,
.security-panel::after,
.policy-link::after,
.faq-list article::after {
  content: "";
  position: absolute;
  right: -72px;
  top: -72px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 137, 228, 0.16), rgba(63, 137, 228, 0));
  pointer-events: none;
}

.info-card:hover,
.capability-card:hover,
.scenario-card:hover,
.screen-grid figure:hover,
.policy-link:hover,
.faq-list article:hover {
  transform: translateY(-3px);
  border-color: rgba(145, 176, 210, 0.5);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34);
}

.screen-grid img,
.hero-visual img {
  border-color: rgba(131, 161, 193, 0.28);
}

.info-card h3,
.capability-card h3,
.scenario-card h3,
.policy-link h4,
.faq-list h3,
.security-panel h3,
.workflow-list h3 {
  color: #eef4fe;
}

.info-card li,
.capability-card p,
.scenario-card p,
.screen-grid figcaption,
.policy-link p,
.faq-list p,
.security-panel ul,
.security-panel p,
.workflow-list p {
  color: #aebed2;
}

.workflow-copy {
  border-color: rgba(135, 164, 196, 0.34);
  background:
    linear-gradient(160deg, rgba(17, 28, 44, 0.95) 0%, rgba(13, 22, 34, 0.95) 58%, rgba(10, 19, 30, 0.95) 100%),
    #101b2b;
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.34);
}

.workflow-copy::before {
  color: rgba(109, 155, 219, 0.14);
}

.workflow-copy::after {
  background: radial-gradient(circle, rgba(63, 138, 228, 0.24) 0%, rgba(63, 138, 228, 0) 70%);
}

.workflow-head h2 {
  color: #f2f7ff;
}

.workflow-intro {
  color: #aebfd4;
}

.workflow-list li {
  border-color: rgba(131, 160, 191, 0.34);
  background:
    linear-gradient(180deg, rgba(20, 31, 48, 0.96), rgba(14, 24, 37, 0.95)),
    #101a29;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.28);
}

.workflow-list li::before {
  color: #bfe0ff;
  border-color: rgba(118, 161, 212, 0.56);
  background: linear-gradient(145deg, rgba(55, 95, 144, 0.85), rgba(35, 66, 104, 0.85));
}

.workflow-list li::after {
  background: linear-gradient(180deg, rgba(95, 146, 209, 0.56), rgba(95, 146, 209, 0));
}

.section-workflow .carousel-slide img {
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.44);
}

.section-workflow .carousel-slide figcaption {
  color: #a8bcd3;
}

.section-workflow .carousel-arrow {
  color: #e0edfd;
  background: rgba(25, 40, 60, 0.92);
  border-color: rgba(124, 156, 192, 0.46);
}

.section-workflow .carousel-arrow:hover,
.section-workflow .carousel-arrow:focus-visible {
  background: rgba(44, 68, 97, 0.9);
}

.carousel-arrow {
  color: #d9e8fb;
  border-color: rgba(122, 152, 185, 0.4);
  background: rgba(19, 31, 48, 0.86);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: rgba(34, 53, 77, 0.9);
}

.dot {
  background: rgba(129, 157, 188, 0.46);
}

.dot.active {
  background: linear-gradient(135deg, #4d87e4, #2ca997);
}

.cta-panel {
  border-color: rgba(120, 152, 185, 0.42);
  background:
    radial-gradient(circle at 10% 2%, rgba(53, 112, 190, 0.26), transparent 40%),
    radial-gradient(circle at 90% 86%, rgba(44, 156, 139, 0.24), transparent 36%),
    rgba(12, 22, 36, 0.92);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.34);
}

.cta-panel p {
  color: #aebfd4;
}

.site-footer {
  border-top-color: rgba(118, 147, 180, 0.36);
  background: #070f19;
}

.footer-grid h3 {
  color: #f1f6ff;
}

.footer-grid h4 {
  color: #7e93ac;
}

.footer-grid p,
.footer-grid a,
.footer-bottom p {
  color: #9db2ca;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #e7f1ff;
}

.footer-bottom {
  border-top-color: rgba(121, 150, 183, 0.3);
}

.sticky-cta {
  border-color: rgba(122, 151, 183, 0.42);
  background: rgba(10, 18, 28, 0.92);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.4);
}

.sticky-secondary {
  border-color: rgba(131, 160, 192, 0.4);
  background: rgba(18, 30, 46, 0.88);
  color: #d8e8fb;
}

.legal-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(54, 123, 210, 0.24), transparent 40%),
    radial-gradient(circle at 0% 20%, rgba(42, 154, 137, 0.2), transparent 34%),
    #060d17;
}

.back-home {
  border-color: rgba(133, 162, 194, 0.42);
  background: rgba(17, 28, 43, 0.84);
  color: #dce9fb;
}

.legal-card {
  border-color: rgba(133, 162, 194, 0.36);
  background: rgba(12, 22, 36, 0.92);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

.legal-card h1,
.legal-card h2 {
  color: #f0f6ff;
}

.legal-meta,
.legal-card p,
.legal-card li {
  color: #aebfd4;
}

.legal-card a {
  color: #7cb0ff;
}

@media (max-width: 1100px) {
  .hero-grid,
  .workflow-grid,
  .security-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy,
  .hero-visual,
  .workflow-copy,
  .workflow-grid .carousel,
  .security-panel,
  .policy-links {
    grid-column: auto;
  }

  .positioning-grid > *,
  .capability-grid > *,
  .scenario-grid > *,
  .faq-list > *,
  .screen-grid > * {
    grid-column: span 6;
  }

  .hero-visual,
  .carousel {
    max-width: none;
    margin-inline: 0;
  }

  .workflow-copy {
    min-height: auto;
  }

  .workflow-head h2 {
    max-width: 14ch;
    font-size: clamp(2.1rem, 6.3vw, 3.8rem);
  }

  .workflow-list {
    margin-top: 24px;
  }

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

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

@media (max-width: 860px) {
  :root {
    --container-width: min(1140px, calc(100vw - 28px));
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 22px);
  }

  .section {
    padding: 88px 0;
  }

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

  .hero-actions .btn {
    justify-content: center;
  }

  .sticky-cta {
    display: flex;
  }

  .site-footer {
    padding-bottom: 98px;
  }
}

@media (max-width: 680px) {
  .section-head {
    margin-bottom: 34px;
  }

  .positioning-grid > *,
  .capability-grid > *,
  .scenario-grid > *,
  .faq-list > *,
  .screen-grid > * {
    grid-column: span 12;
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 11vw, 2.8rem);
  }

  .hero-points span {
    width: 100%;
    border-radius: 12px;
  }

  .workflow-copy::before {
    right: 12px;
    top: 10px;
    font-size: clamp(2.6rem, 17vw, 3.8rem);
  }

  .workflow-head h2 {
    font-size: clamp(1.92rem, 10.2vw, 2.8rem);
  }

  .workflow-intro {
    font-size: 0.95rem;
  }

  .workflow-list li {
    padding: 18px 14px 18px 54px;
  }

  .workflow-list li::before {
    left: 14px;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.86rem;
  }

  .workflow-list li::after {
    left: 28px;
    top: 52px;
    bottom: -13px;
  }

  .section-head h2,
  .cta-panel h2 {
    text-wrap: pretty;
  }
}

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

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

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