:root {
  --ink: #071827;
  --ink-2: #0b2233;
  --ink-3: #123247;
  --paper: #f6f8f7;
  --white: #ffffff;
  --muted: #61717d;
  --faint: #8a98a2;
  --line: #dfe6e4;
  --line-dark: rgba(220, 242, 237, 0.13);
  --mint: #25bfa4;
  --mint-bright: #44e3c5;
  --mint-soft: #e4f8f3;
  --blue: #3e7bfa;
  --amber: #f2ad45;
  --red: #d96058;
  --shadow-sm: 0 8px 24px rgba(13, 39, 52, 0.07);
  --shadow: 0 24px 70px rgba(13, 39, 52, 0.11);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --font:
    "MiSans", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
    "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
}

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

img,
svg {
  display: block;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 191, 164, 0.35);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: var(--mint-bright);
}

.site-noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  width: 100%;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 max(28px, calc((100vw - 1280px) / 2));
  color: #e9f5f2;
  border-bottom: 1px solid rgba(213, 244, 235, 0.1);
  background: rgba(7, 24, 39, 0.9);
  backdrop-filter: blur(20px);
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
}

.brand-mark i {
  display: block;
  border-radius: 2px;
  background: var(--mint-bright);
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  opacity: 0.38;
}

.brand-mark i:nth-child(4) {
  background: var(--amber);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 3px;
  color: rgba(222, 241, 237, 0.52);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.21em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding: 25px 0 23px;
  color: rgba(231, 244, 241, 0.63);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--mint-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 11px;
  padding: 0 17px;
  color: var(--ink);
  border-radius: 10px;
  background: var(--mint-bright);
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.header-cta:hover {
  background: #74efd8;
  transform: translateY(-1px);
}

.header-cta svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.admin-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: rgba(234, 247, 243, 0.62);
  border: 1px solid rgba(230, 248, 243, 0.11);
  border-radius: 10px;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.admin-link:hover {
  color: var(--mint-bright);
  border-color: rgba(68, 227, 197, 0.3);
}

.admin-link svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(230, 248, 243, 0.12);
  border-radius: 10px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: #eefaf7;
  transition: transform 180ms ease;
}

.mobile-nav {
  position: fixed;
  z-index: 45;
  top: 76px;
  right: 16px;
  left: 16px;
  display: none;
  padding: 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: block;
  animation: dropIn 240ms var(--ease);
}

.mobile-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: var(--mint-soft);
}

main {
  min-height: calc(100vh - 260px);
}

.site-footer {
  padding: 64px max(28px, calc((100vw - 1280px) / 2)) 24px;
  color: #dfefeb;
  background:
    radial-gradient(circle at 15% 10%, rgba(43, 194, 165, 0.11), transparent 28%),
    var(--ink);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.brand-mark-small {
  width: 34px;
  height: 34px;
}

.footer-brand strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.footer-brand p {
  margin: 7px 0 0;
  color: rgba(222, 241, 236, 0.48);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a {
  color: rgba(226, 243, 238, 0.57);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--mint-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: rgba(219, 239, 233, 0.36);
  border-top: 1px solid rgba(223, 247, 241, 0.08);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.page-loader {
  display: grid;
  min-height: 68vh;
  place-content: center;
  place-items: center;
  gap: 18px;
  color: var(--muted);
}

.page-loader p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.loader-grid {
  width: 38px;
  height: 38px;
  background:
    linear-gradient(var(--mint), var(--mint)) 0 0 / 15px 15px no-repeat,
    linear-gradient(var(--ink)) 23px 0 / 15px 15px no-repeat,
    linear-gradient(var(--ink)) 0 23px / 15px 15px no-repeat,
    linear-gradient(var(--mint)) 23px 23px / 15px 15px no-repeat;
  animation: loaderPulse 1.3s ease-in-out infinite;
}

@keyframes loaderPulse {
  50% {
    opacity: 0.4;
    transform: rotate(90deg) scale(0.82);
  }
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #eefaf7;
  background:
    radial-gradient(circle at 78% 35%, rgba(31, 187, 159, 0.16), transparent 26%),
    radial-gradient(circle at 12% 105%, rgba(61, 109, 225, 0.17), transparent 32%),
    linear-gradient(120deg, #071827 0%, #0a1e2e 62%, #0b2633 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(167, 235, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 235, 220, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.hero::after {
  position: absolute;
  top: 0;
  left: 58%;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(transparent, rgba(68, 227, 197, 0.25), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1280px, calc(100% - 56px));
  min-height: 690px;
  align-items: center;
  gap: 58px;
  margin: 0 auto;
  padding: 74px 0 80px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
}

.hero-copy {
  max-width: 700px;
  animation: fadeUp 700ms var(--ease) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: var(--mint-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.4vw, 82px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 em {
  position: relative;
  color: var(--mint-bright);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 5px;
  content: "";
  opacity: 0.25;
  background: var(--mint-bright);
}

.hero-lead {
  max-width: 600px;
  margin: 29px 0 0;
  color: rgba(226, 243, 238, 0.64);
  font-size: 16px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  cursor: pointer;
  border: 0;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #04201b;
  background: var(--mint-bright);
  box-shadow: 0 12px 30px rgba(30, 197, 168, 0.18);
}

.button-primary:hover {
  background: #73efd8;
  box-shadow: 0 16px 36px rgba(30, 197, 168, 0.24);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-ghost {
  color: #ebf8f5;
  border: 1px solid rgba(226, 247, 241, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.button-ghost:hover {
  border-color: rgba(68, 227, 197, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.button-light {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.button-danger {
  color: var(--red);
  border: 1px solid #edd1ce;
  background: #fff7f6;
}

.button-small {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 12px;
}

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 42px;
  color: rgba(226, 243, 238, 0.43);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.proof-avatars {
  display: flex;
}

.proof-avatars span {
  display: grid;
  width: 28px;
  height: 28px;
  margin-left: -7px;
  place-items: center;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #d7eee8;
  font-size: 9px;
  font-weight: 800;
}

.proof-avatars span:first-child {
  margin-left: 0;
}

.proof-avatars span:nth-child(2) {
  background: #ffdca1;
}

.proof-avatars span:nth-child(3) {
  background: #c4d6ff;
}

.network-visual {
  position: relative;
  width: min(100%, 490px);
  aspect-ratio: 1;
  justify-self: end;
  animation: fadeUp 900ms 100ms var(--ease) both;
}

.network-orbit {
  position: absolute;
  border: 1px solid rgba(178, 235, 222, 0.13);
  border-radius: 50%;
}

.network-orbit::after {
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 16px var(--mint-bright);
}

.orbit-one {
  inset: 1%;
  animation: orbitSpin 30s linear infinite;
}

.orbit-two {
  inset: 13%;
  border-style: dashed;
  animation: orbitSpin 24s linear infinite reverse;
}

.orbit-three {
  inset: 26%;
  animation: orbitSpin 16s linear infinite;
}

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

.network-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 157px;
  height: 157px;
  place-content: center;
  place-items: center;
  border: 1px solid rgba(90, 233, 205, 0.3);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(40, 196, 167, 0.23), rgba(7, 24, 39, 0.74) 70%);
  box-shadow:
    0 0 80px rgba(35, 191, 161, 0.15),
    inset 0 0 55px rgba(63, 230, 198, 0.07);
  transform: translate(-50%, -50%);
}

.core-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.core-mark i {
  border-radius: 3px;
  background: var(--mint-bright);
}

.core-mark i:nth-child(2),
.core-mark i:nth-child(3) {
  opacity: 0.3;
}

.core-mark i:nth-child(4) {
  background: var(--amber);
}

.network-core strong {
  font-size: 12px;
  letter-spacing: 0.05em;
}

.network-core small {
  margin-top: 3px;
  color: rgba(219, 243, 236, 0.43);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.network-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(193, 243, 231, 0.15);
  border-radius: 9px;
  background: rgba(10, 34, 48, 0.86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.19);
  backdrop-filter: blur(12px);
}

.network-node::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 10px rgba(68, 227, 197, 0.8);
}

.network-node span {
  display: flex;
  flex-direction: column;
  color: rgba(231, 248, 243, 0.88);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
}

.network-node small {
  color: rgba(222, 244, 238, 0.37);
  font-size: 7px;
  font-weight: 400;
}

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

.node-2 {
  top: 31%;
  right: -2%;
}

.node-3 {
  right: 12%;
  bottom: 6%;
}

.node-4 {
  bottom: 16%;
  left: -1%;
}

.node-5 {
  top: 32%;
  left: 3%;
}

.network-status {
  position: absolute;
  right: 1%;
  bottom: 24%;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(223, 244, 238, 0.42);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.network-status::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 0 5px rgba(68, 227, 197, 0.08);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  50% {
    box-shadow: 0 0 0 9px rgba(68, 227, 197, 0);
  }
}

.signal-strip {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 62px;
  align-items: center;
  overflow: hidden;
  color: rgba(233, 247, 243, 0.62);
  border-top: 1px solid rgba(205, 241, 232, 0.08);
  border-bottom: 1px solid rgba(205, 241, 232, 0.08);
  background: #0a202f;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.signal-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 36s linear infinite;
}

.signal-track span {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  white-space: nowrap;
}

.signal-track span::after {
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--mint);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 104px max(28px, calc((100vw - 1280px) / 2));
}

.section-alt {
  background: #eef3f1;
}

.section-dark {
  color: #eaf7f3;
  background:
    radial-gradient(circle at 82% 20%, rgba(32, 191, 162, 0.12), transparent 26%),
    var(--ink);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 46px;
}

.section-kicker {
  display: block;
  margin: 0 0 13px;
  color: #0c9b86;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-dark .section-kicker {
  color: var(--mint-bright);
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(33px, 3.4vw, 49px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-description {
  max-width: 430px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.section-dark .section-description {
  color: rgba(221, 241, 235, 0.49);
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.text-link svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.section-dark .text-link {
  color: var(--mint-bright);
  border-color: rgba(68, 227, 197, 0.45);
}

.metrics-band {
  display: grid;
  margin-top: 78px;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  padding: 30px 30px 10px 0;
  border-right: 1px solid var(--line-dark);
}

.metric-item:not(:first-child) {
  padding-left: 30px;
}

.metric-item:last-child {
  border-right: 0;
}

.metric-item strong {
  display: block;
  color: #f3fbf9;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.metric-item span {
  display: block;
  margin-top: 10px;
  color: rgba(221, 241, 235, 0.42);
  font-size: 10px;
  letter-spacing: 0.04em;
}

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

.track-card {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease),
    border-color 260ms ease;
}

.track-card::after {
  position: absolute;
  right: -48px;
  bottom: -64px;
  width: 160px;
  height: 160px;
  content: "";
  border: 1px solid #cde5df;
  border-radius: 50%;
  box-shadow:
    0 0 0 20px rgba(213, 236, 230, 0.35),
    0 0 0 42px rgba(213, 236, 230, 0.12);
}

.track-card:hover {
  border-color: #b7dcd3;
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.track-number {
  color: #bbd0ca;
  font-family: var(--serif);
  font-size: 12px;
}

.track-icon {
  display: grid;
  width: 39px;
  height: 39px;
  margin-top: 28px;
  place-items: center;
  color: #0c9b86;
  border-radius: 11px;
  background: var(--mint-soft);
}

.track-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.track-card h3 {
  margin: 19px 0 7px;
  font-size: 17px;
  font-weight: 700;
}

.track-card p {
  position: relative;
  z-index: 1;
  max-width: 200px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.track-count {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 21px;
  color: #8ca19b;
  font-size: 9px;
}

.process-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  position: relative;
  padding: 31px 32px 8px 0;
  border-right: 1px solid var(--line-dark);
}

.process-step:not(:first-child) {
  padding-left: 32px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  color: var(--mint-bright);
  font-family: var(--serif);
  font-size: 11px;
}

.process-step h3 {
  margin: 72px 0 12px;
  font-size: 16px;
  font-weight: 650;
}

.process-step p {
  max-width: 220px;
  margin: 0;
  color: rgba(220, 241, 234, 0.43);
  font-size: 11px;
  line-height: 1.8;
}

.cta-band {
  padding: 0 max(28px, calc((100vw - 1280px) / 2));
  background: #eef3f1;
}

.cta-inner {
  position: relative;
  display: flex;
  min-height: 285px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: 55px 64px;
  color: white;
  border-radius: 25px 25px 0 0;
  background:
    linear-gradient(110deg, rgba(10, 30, 45, 0.45), rgba(10, 30, 45, 0)),
    linear-gradient(110deg, #0b2535, #12404a);
}

.cta-inner::before,
.cta-inner::after {
  position: absolute;
  width: 390px;
  height: 390px;
  content: "";
  border: 1px solid rgba(104, 234, 208, 0.16);
  border-radius: 50%;
}

.cta-inner::before {
  top: -210px;
  right: 100px;
  box-shadow:
    0 0 0 38px rgba(104, 234, 208, 0.025),
    0 0 0 80px rgba(104, 234, 208, 0.018);
}

.cta-inner::after {
  right: -210px;
  bottom: -290px;
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta-copy p {
  margin: 0 0 10px;
  color: var(--mint-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.cta-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cta-copy span {
  display: block;
  margin-top: 15px;
  color: rgba(230, 246, 241, 0.52);
  font-size: 12px;
}

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

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

.project-card {
  position: relative;
  display: flex;
  min-height: 335px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition:
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease),
    border-color 240ms ease;
}

.project-card:hover {
  border-color: #b9ddd4;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

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

.track-badge,
.status-badge,
.tier-badge,
.demo-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.track-badge {
  color: #087c6b;
  background: var(--mint-soft);
}

.status-badge {
  color: #3c6674;
  border: 1px solid #d9e7e4;
  background: #f8fbfa;
}

.status-badge::before {
  width: 5px;
  height: 5px;
  margin-right: 6px;
  content: "";
  border-radius: 50%;
  background: var(--mint);
}

.project-code {
  margin-top: 22px;
  color: #95a5a3;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.project-card h3 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.project-intro {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.tag {
  padding: 4px 8px;
  color: #607571;
  border: 1px solid #e1e9e6;
  border-radius: 4px;
  background: #fbfcfc;
  font-size: 9px;
}

.project-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.project-meta {
  color: #7e918e;
  font-size: 9px;
}

.project-meta strong {
  display: block;
  margin-bottom: 2px;
  color: #334b56;
  font-size: 10px;
  font-weight: 650;
}

.card-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.card-arrow:hover {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.card-arrow svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #eefaf7;
  background:
    radial-gradient(circle at 88% 20%, rgba(34, 191, 162, 0.16), transparent 27%),
    var(--ink);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.31;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(199, 241, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 241, 231, 0.05) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  padding: 79px 0 68px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(225, 244, 238, 0.54);
  font-size: 14px;
  line-height: 1.9;
}

.page-hero .sync-state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: rgba(221, 243, 236, 0.45);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.sync-state::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 0 5px rgba(68, 227, 197, 0.08);
}

.projects-shell {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  padding: 52px 0 100px;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.search-box {
  position: relative;
  display: flex;
  min-width: 270px;
  max-width: 440px;
  flex: 1;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 14px;
  width: 17px;
  fill: none;
  stroke: #899a96;
  stroke-linecap: round;
  stroke-width: 1.7;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 43px;
  padding: 0 14px 0 41px;
  color: var(--ink);
  border: 1px solid #e3e9e7;
  border-radius: 9px;
  background: #f9fbfa;
  font-size: 12px;
}

.search-box input::placeholder {
  color: #9aa8a5;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.filter-tab {
  min-height: 36px;
  padding: 0 13px;
  cursor: pointer;
  color: #738480;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  font-size: 10px;
  font-weight: 650;
}

.filter-tab:hover {
  color: var(--ink);
  background: #f4f8f7;
}

.filter-tab.is-active {
  color: #087c6b;
  border-color: #cfe9e3;
  background: var(--mint-soft);
}

.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: #8c9a97;
  font-size: 10px;
}

.result-summary strong {
  color: #344e49;
  font-size: 11px;
}

.empty-state {
  display: grid;
  min-height: 320px;
  place-content: center;
  place-items: center;
  padding: 30px;
  text-align: center;
  border: 1px dashed #cfdad7;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}

.empty-state-mark {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 18px;
  place-items: center;
  color: #84a49c;
  border: 1px solid #d6e3df;
  border-radius: 50%;
}

.empty-state-mark svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.empty-state h3 {
  margin: 0;
  font-size: 16px;
}

.empty-state p {
  max-width: 400px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.notice-strip {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 32px;
  padding: 16px 18px;
  color: #6f8580;
  border: 1px solid #dce9e5;
  border-radius: 10px;
  background: #f5faf8;
  font-size: 10px;
  line-height: 1.7;
}

.notice-strip strong {
  flex: 0 0 auto;
  color: #0c8976;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.apply-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 64px 0 110px;
}

.apply-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.apply-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.apply-header p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.apply-layout {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.apply-steps {
  position: sticky;
  top: 102px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.steps-caption {
  display: block;
  margin-bottom: 23px;
  color: #95a5a1;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 31px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item:not(:last-child)::after {
  position: absolute;
  top: 23px;
  bottom: 4px;
  left: 11px;
  width: 1px;
  content: "";
  background: #e1e9e6;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  color: #9aaba7;
  border: 1px solid #dbe5e2;
  border-radius: 50%;
  background: white;
  font-size: 8px;
  font-weight: 750;
}

.step-item strong {
  display: block;
  margin-top: 1px;
  color: #849590;
  font-size: 11px;
  line-height: 1.5;
}

.step-item small {
  display: block;
  margin-top: 2px;
  color: #acb8b5;
  font-size: 8px;
  line-height: 1.5;
}

.step-item.is-active .step-number,
.step-item.is-complete .step-number {
  color: #031c18;
  border-color: var(--mint);
  background: var(--mint-bright);
}

.step-item.is-active strong,
.step-item.is-complete strong {
  color: var(--ink);
}

.step-item.is-active {
  color: var(--ink);
}

.form-security {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 34px;
  padding-top: 18px;
  color: #9aa9a5;
  border-top: 1px solid #edf1ef;
  font-size: 8px;
  line-height: 1.6;
}

.form-security svg {
  width: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: #5da291;
  stroke-width: 1.7;
}

.application-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.form-step {
  display: none;
  padding: 38px 42px 30px;
}

.form-step.is-active {
  display: block;
  animation: fadeUp 350ms var(--ease);
}

.form-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #edf1ef;
}

.form-step-index {
  display: block;
  margin-bottom: 7px;
  color: #0d9b87;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.form-title-row h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.025em;
}

.form-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.required-note {
  flex: 0 0 auto;
  margin-top: 5px;
  color: #9aa8a5;
  font-size: 8px;
}

.required-note em {
  color: var(--red);
  font-style: normal;
}

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

.field {
  min-width: 0;
}

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

.field label,
.field-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  color: #314b45;
  font-size: 10px;
  font-weight: 700;
}

.field label em {
  color: var(--red);
  font-style: normal;
}

.field label small {
  color: #a3afac;
  font-size: 8px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: #203d37;
  border: 1px solid #dde6e3;
  border-radius: 9px;
  background: #fbfcfc;
  font-size: 12px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.field input,
.field select {
  height: 45px;
  padding: 0 13px;
}

.field select {
  cursor: pointer;
}

.field textarea {
  min-height: 98px;
  padding: 12px 13px;
  line-height: 1.75;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a4b1ae;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: #63c7b5;
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 191, 164, 0.09);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #e59189;
  background: #fffafa;
}

.field-error {
  display: none;
  margin-top: 5px;
  color: var(--red);
  font-size: 9px;
}

.field.has-error .field-error {
  display: block;
}

.inline-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.check-chip {
  position: relative;
  cursor: pointer;
}

.check-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.check-chip span {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  padding: 0 12px;
  color: #67807a;
  border: 1px solid #dfe8e5;
  border-radius: 7px;
  background: #fbfcfc;
  font-size: 10px;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.check-chip input:checked + span {
  color: #087b6a;
  border-color: #a9ddd3;
  background: var(--mint-soft);
}

.check-chip input:focus-visible + span {
  outline: 3px solid rgba(37, 191, 164, 0.25);
  outline-offset: 2px;
}

.project-select-list {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-select {
  position: relative;
  cursor: pointer;
}

.project-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.project-select-card {
  display: flex;
  min-height: 119px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #dde7e4;
  border-radius: 11px;
  background: #fbfcfc;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.project-select-card::after {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  content: "✓";
  color: transparent;
  border: 1px solid #d5e0dd;
  border-radius: 5px;
  background: white;
  font-size: 10px;
  font-weight: 800;
}

.project-select input:checked + .project-select-card {
  border-color: #70cbb9;
  background: #f0fbf8;
  box-shadow: 0 0 0 3px rgba(37, 191, 164, 0.07);
}

.project-select input:checked + .project-select-card::after {
  color: #03211b;
  border-color: var(--mint);
  background: var(--mint-bright);
}

.project-select input:focus-visible + .project-select-card {
  outline: 3px solid rgba(37, 191, 164, 0.22);
  outline-offset: 2px;
}

.project-select-card .track-badge {
  width: max-content;
}

.project-select-card strong {
  margin: 12px 34px 5px 0;
  font-size: 12px;
  line-height: 1.5;
}

.project-select-card small {
  color: #859793;
  font-size: 8px;
}

.selected-project-summary {
  margin: 16px 0 0;
  color: #7c918c;
  font-size: 9px;
}

.selected-project-summary strong {
  color: #0c8977;
}

.upload-zone {
  position: relative;
  display: grid;
  min-height: 144px;
  cursor: pointer;
  place-content: center;
  place-items: center;
  padding: 22px;
  text-align: center;
  border: 1px dashed #c6d9d4;
  border-radius: 11px;
  background: #f9fbfa;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.upload-zone:hover,
.upload-zone.is-dragging {
  border-color: #73c9b9;
  background: #f1fbf8;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-icon {
  display: grid;
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
  place-items: center;
  color: #0b9d87;
  border-radius: 9px;
  background: var(--mint-soft);
}

.upload-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.upload-zone strong {
  font-size: 11px;
}

.upload-zone span {
  margin-top: 4px;
  color: #8e9d99;
  font-size: 8px;
}

.file-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.file-row {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  border: 1px solid #e2eae7;
  border-radius: 8px;
  background: white;
}

.file-type {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  color: #168c78;
  border-radius: 6px;
  background: #e9f8f4;
  font-size: 7px;
  font-weight: 800;
}

.file-info {
  min-width: 0;
  flex: 1;
}

.file-info strong {
  display: block;
  overflow: hidden;
  color: #38534d;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-info small {
  display: block;
  color: #94a39f;
  font-size: 7px;
}

.icon-button {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  cursor: pointer;
  place-items: center;
  color: #83938f;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.icon-button:hover {
  color: var(--red);
  background: #fff1ef;
}

.icon-button svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 25px;
  padding: 14px;
  color: #708580;
  border-radius: 9px;
  background: #f5f9f8;
  font-size: 9px;
  line-height: 1.7;
}

.form-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--mint);
}

.form-consent a {
  color: #087c6b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 29px;
  padding-top: 23px;
  border-top: 1px solid #edf1ef;
}

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

.form-actions .button {
  min-height: 44px;
  font-size: 12px;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(4, 32, 27, 0.25);
  border-top-color: #04201b;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.review-box {
  display: grid;
  gap: 12px;
}

.review-section {
  padding: 18px;
  border: 1px solid #e3ebe8;
  border-radius: 10px;
  background: #fbfcfc;
}

.review-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.review-section-head h3 {
  margin: 0;
  font-size: 11px;
}

.review-section-head button {
  padding: 0;
  cursor: pointer;
  color: #0a907b;
  border: 0;
  background: none;
  font-size: 8px;
}

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

.review-grid div {
  min-width: 0;
}

.review-grid span {
  display: block;
  margin-bottom: 2px;
  color: #99a7a3;
  font-size: 8px;
}

.review-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: #37504a;
  font-size: 10px;
  font-weight: 600;
}

.success-view {
  padding: 70px 40px 76px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  place-items: center;
  color: #06251f;
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 0 13px rgba(68, 227, 197, 0.1);
}

.success-mark svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.success-view h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
}

.success-view p {
  margin: 11px auto 0;
  color: var(--muted);
  font-size: 11px;
}

.application-no {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin: 26px 0;
  padding: 0 17px;
  color: #0c7e6c;
  border: 1px solid #cbe9e2;
  border-radius: 9px;
  background: #f3fbf9;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.about-grid {
  display: grid;
  align-items: start;
  gap: 70px;
  grid-template-columns: 0.76fr 1.24fr;
}

.about-lead {
  position: sticky;
  top: 110px;
}

.about-lead h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 43px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.about-lead p {
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.requirements {
  display: grid;
  gap: 12px;
}

.requirement-card {
  display: grid;
  align-items: start;
  gap: 20px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  grid-template-columns: 35px 1fr;
}

.requirement-index {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #0b927c;
  border-radius: 9px;
  background: var(--mint-soft);
  font-family: var(--serif);
  font-size: 10px;
}

.requirement-card h3 {
  margin: 0;
  font-size: 13px;
}

.requirement-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 38px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}

.faq-item summary {
  position: relative;
  padding: 18px 48px 18px 19px;
  cursor: pointer;
  list-style: none;
  color: #324d46;
  font-size: 11px;
  font-weight: 650;
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 19px;
  content: "+";
  color: #0e947e;
  font-size: 18px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 19px 19px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.85;
}

.privacy-panel {
  margin-top: 12px;
  padding: 25px;
  color: rgba(228, 244, 239, 0.62);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(48, 204, 175, 0.13), transparent 35%),
    var(--ink);
}

.privacy-panel strong {
  display: block;
  margin-bottom: 7px;
  color: #f0faf7;
  font-size: 11px;
}

.privacy-panel p {
  margin: 0;
  font-size: 9px;
  line-height: 1.85;
}

.modal-layer:empty {
  display: none;
}

.modal-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 17, 27, 0.66);
  backdrop-filter: blur(8px);
}

.modal {
  position: relative;
  width: min(680px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  border-radius: 20px;
  background: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
  animation: fadeUp 260ms var(--ease);
}

.modal-wide {
  width: min(980px, 100%);
}

.modal-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 30px 20px;
  border-bottom: 1px solid #edf1ef;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.modal-head small {
  display: block;
  margin-bottom: 5px;
  color: #0b927c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.modal-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.35;
}

.modal-close {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  cursor: pointer;
  place-items: center;
  color: #71837e;
  border: 1px solid #e0e8e5;
  border-radius: 50%;
  background: white;
}

.modal-close:hover {
  color: var(--ink);
  border-color: #bfcfca;
}

.modal-close svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.modal-body {
  padding: 28px 30px 30px;
}

.project-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}

.project-detail-intro {
  margin: 0;
  color: #48605b;
  font-size: 12px;
  line-height: 1.95;
  white-space: pre-line;
}

.detail-blocks {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.detail-block {
  padding: 17px;
  border: 1px solid #e4ebe8;
  border-radius: 10px;
  background: #fafcfb;
}

.detail-block h3 {
  margin: 0 0 7px;
  color: #24443d;
  font-size: 10px;
}

.detail-block p {
  margin: 0;
  color: #6f817d;
  font-size: 10px;
  line-height: 1.8;
  white-space: pre-line;
}

.detail-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid #e1e9e6;
  border-radius: 10px;
  background: #e1e9e6;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-fact {
  padding: 14px;
  background: white;
}

.detail-fact span {
  display: block;
  color: #97a5a2;
  font-size: 8px;
}

.detail-fact strong {
  display: block;
  margin-top: 3px;
  color: #304b45;
  font-size: 10px;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 30px;
  border-top: 1px solid #edf1ef;
  background: #fbfcfc;
}

.modal-foot p {
  margin: 0;
  color: #81918d;
  font-size: 8px;
}

.modal-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.modal-actions .button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 10px;
}

.share-hero {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  color: #e9f8f4;
  border-radius: 12px;
  background:
    radial-gradient(circle at 95% 10%, rgba(68, 227, 197, 0.16), transparent 35%),
    var(--ink);
}

.share-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--mint-bright);
  border: 1px solid rgba(210, 245, 237, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.share-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.share-hero > div {
  min-width: 0;
  flex: 1;
}

.share-hero small {
  display: block;
  margin-bottom: 4px;
  color: rgba(219, 243, 236, 0.45);
  font-size: 8px;
}

.share-hero strong {
  display: block;
  overflow-wrap: anywhere;
  color: #f1fbf8;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 500;
}

.share-hero > button {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 11px;
  cursor: pointer;
  color: #08261f;
  border: 0;
  border-radius: 7px;
  background: var(--mint-bright);
  font-size: 9px;
  font-weight: 700;
}

.share-help {
  margin: 17px 0;
  color: #748983;
  font-size: 9px;
  line-height: 1.75;
}

.share-link-list {
  display: grid;
  gap: 8px;
}

.share-link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid #e1e9e6;
  border-radius: 9px;
  background: #fbfcfc;
}

.share-link-row > div {
  min-width: 0;
  flex: 1;
}

.share-link-row span {
  display: block;
  color: #34534b;
  font-size: 10px;
  font-weight: 700;
}

.share-link-row small {
  display: block;
  margin: 1px 0 5px;
  color: #94a39f;
  font-size: 8px;
}

.share-link-row strong {
  display: block;
  overflow-wrap: anywhere;
  color: #177c6b;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 500;
}

.share-link-row > button {
  display: inline-flex;
  min-height: 31px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  cursor: pointer;
  color: #467169;
  border: 1px solid #dce7e3;
  border-radius: 6px;
  background: white;
  font-size: 8px;
}

.share-link-row > button svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.share-lan-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
}

.share-lan-list > span {
  color: #8d9d98;
  font-size: 8px;
}

.share-lan-list button {
  padding: 4px 7px;
  cursor: pointer;
  color: #607a73;
  border: 1px solid #e1e9e6;
  border-radius: 5px;
  background: white;
  font: 8px Consolas, "SFMono-Regular", monospace;
}

.share-tip {
  margin-top: 15px;
  padding: 11px 12px;
  color: #806b43;
  border: 1px solid #eee2cb;
  border-radius: 8px;
  background: #fffbf3;
  font-size: 8px;
  line-height: 1.7;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: 390px;
  padding: 13px 17px;
  pointer-events: none;
  color: #eafaf6;
  border: 1px solid rgba(135, 234, 214, 0.18);
  border-radius: 9px;
  background: rgba(8, 34, 43, 0.95);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
  font-size: 11px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.toast.is-error {
  border-color: rgba(255, 145, 132, 0.25);
  background: #48231f;
}

/* Admin */
body.admin-mode {
  background: #f3f6f5;
}

body.admin-mode .site-header,
body.admin-mode .site-footer,
body.admin-mode .site-noise {
  display: none;
}

body.admin-mode #appMain {
  min-height: 100vh;
}

.admin-login {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: 30px;
  color: #eaf8f4;
  background:
    radial-gradient(circle at 72% 22%, rgba(44, 193, 164, 0.16), transparent 24%),
    var(--ink);
}

.admin-login::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(191, 239, 228, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 239, 228, 0.07) 1px, transparent 1px);
  background-size: 62px 62px;
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(410px, 100%);
  padding: 38px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(250, 253, 252, 0.97);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
}

.login-brand .brand-mark {
  border-color: #d9e7e3;
  background: var(--ink);
}

.login-brand strong {
  display: block;
  font-size: 13px;
}

.login-brand small {
  color: #839390;
  font-size: 7px;
  letter-spacing: 0.14em;
}

.login-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.25;
}

.login-card > p {
  margin: 9px 0 25px;
  color: var(--muted);
  font-size: 10px;
}

.login-field {
  margin-top: 14px;
}

.login-field label {
  display: block;
  margin-bottom: 7px;
  color: #3a534e;
  font-size: 9px;
  font-weight: 650;
}

.login-field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid #dce6e2;
  border-radius: 9px;
  background: #f8fbfa;
  font-size: 12px;
}

.login-submit {
  width: 100%;
  margin-top: 23px;
}

.login-back {
  display: block;
  margin-top: 19px;
  color: #849490;
  font-size: 9px;
  text-align: center;
}

.login-back:hover {
  color: #0b8b77;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  background: #f3f6f5;
  grid-template-columns: 230px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 25px 16px 20px;
  color: #dff1ec;
  background:
    radial-gradient(circle at 20% 2%, rgba(51, 198, 170, 0.12), transparent 25%),
    var(--ink);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 7px 26px;
  border-bottom: 1px solid rgba(223, 246, 239, 0.08);
}

.admin-brand .brand-mark {
  width: 32px;
  height: 32px;
}

.admin-brand strong {
  display: block;
  font-size: 12px;
}

.admin-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(220, 242, 236, 0.35);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.admin-nav {
  display: grid;
  gap: 4px;
  margin-top: 26px;
}

.admin-nav-label {
  padding: 0 10px 9px;
  color: rgba(218, 241, 234, 0.28);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.admin-nav button {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  cursor: pointer;
  color: rgba(225, 243, 238, 0.55);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 10px;
  text-align: left;
}

.admin-nav button:hover {
  color: #ecf9f5;
  background: rgba(255, 255, 255, 0.045);
}

.admin-nav button.is-active {
  color: #f1fbf8;
  background: rgba(64, 209, 181, 0.12);
}

.admin-nav button.is-active svg {
  color: var(--mint-bright);
}

.admin-nav svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.admin-nav .nav-count {
  min-width: 20px;
  margin-left: auto;
  padding: 2px 5px;
  color: #d5f5ee;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 7px;
  text-align: center;
}

.admin-sidebar-foot {
  margin-top: auto;
  padding: 18px 7px 0;
  border-top: 1px solid rgba(223, 246, 239, 0.08);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.admin-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #05241d;
  border-radius: 8px;
  background: var(--mint-bright);
  font-size: 10px;
  font-weight: 800;
}

.admin-user strong {
  display: block;
  font-size: 9px;
}

.admin-user small {
  display: block;
  color: rgba(226, 244, 238, 0.35);
  font-size: 7px;
}

.admin-sidebar-foot button {
  width: 100%;
  min-height: 35px;
  cursor: pointer;
  color: rgba(226, 244, 238, 0.42);
  border: 1px solid rgba(225, 246, 239, 0.08);
  border-radius: 7px;
  background: transparent;
  font-size: 8px;
}

.admin-sidebar-foot button:hover {
  color: #f1fbf8;
}

.admin-main {
  min-width: 0;
  padding: 28px 33px 60px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.admin-topbar small {
  display: block;
  margin-bottom: 5px;
  color: #869894;
  font-size: 8px;
  letter-spacing: 0.05em;
}

.admin-topbar h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-mobile-menu {
  display: none;
}

.admin-demo-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
  padding: 12px 15px;
  color: #6c807a;
  border: 1px solid #dce9e5;
  border-radius: 9px;
  background: #f7fbf9;
  font-size: 9px;
}

.admin-demo-note strong {
  color: #0c8c78;
}

.admin-demo-note button {
  flex: 0 0 auto;
  padding: 0;
  cursor: pointer;
  color: #9e6d24;
  border: 0;
  background: transparent;
  font-size: 8px;
  text-decoration: underline;
}

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

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 19px;
  border: 1px solid #e1e8e6;
  border-radius: 12px;
  background: white;
}

.stat-card::after {
  position: absolute;
  top: -28px;
  right: -26px;
  width: 85px;
  height: 85px;
  content: "";
  border: 1px solid #e7efec;
  border-radius: 50%;
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7d8e8a;
  font-size: 9px;
}

.stat-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.stat-card:nth-child(2) .stat-label i {
  background: var(--blue);
}

.stat-card:nth-child(3) .stat-label i {
  background: var(--amber);
}

.stat-card:nth-child(4) .stat-label i {
  background: #9d75da;
}

.stat-value {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 19px;
}

.stat-value strong {
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
}

.stat-value small {
  margin-bottom: 3px;
  color: #94a29f;
  font-size: 8px;
}

.stat-compare {
  margin-top: 11px;
  color: #95a39f;
  font-size: 8px;
}

.stat-compare strong {
  color: #0d927d;
}

.admin-dashboard-grid {
  display: grid;
  align-items: start;
  gap: 14px;
  margin-top: 14px;
  grid-template-columns: 1.42fr 0.88fr;
}

.admin-panel {
  border: 1px solid #e1e8e6;
  border-radius: 12px;
  background: white;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 20px 15px;
  border-bottom: 1px solid #edf1ef;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 11px;
}

.admin-panel-head p {
  margin: 3px 0 0;
  color: #94a29f;
  font-size: 8px;
}

.admin-panel-head .text-button {
  padding: 0;
  cursor: pointer;
  color: #0c8c77;
  border: 0;
  background: none;
  font-size: 8px;
}

.trend-chart {
  display: flex;
  height: 222px;
  align-items: flex-end;
  gap: 13px;
  padding: 26px 22px 21px;
  background:
    linear-gradient(rgba(20, 57, 52, 0.045) 1px, transparent 1px) 0 23px / 100%
      42px;
}

.trend-bar-wrap {
  display: flex;
  height: 100%;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.trend-bar {
  width: min(34px, 72%);
  min-height: 5px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, #1aaf96, #74e7d0);
  transition: height 400ms var(--ease);
}

.trend-bar-wrap span {
  color: #91a29e;
  font-size: 7px;
}

.trend-bar-wrap strong {
  color: #4f6963;
  font-size: 8px;
}

.status-distribution {
  padding: 21px 20px 15px;
}

.status-row {
  display: grid;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  grid-template-columns: 65px minmax(0, 1fr) 27px;
}

.status-row > span {
  color: #60756f;
  font-size: 8px;
}

.status-row > strong {
  color: #3d5952;
  font-size: 8px;
  text-align: right;
}

.mini-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #eef3f1;
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #35bda4;
}

.status-row:nth-child(2) .mini-progress i {
  background: #688ee9;
}

.status-row:nth-child(3) .mini-progress i {
  background: #e5ab50;
}

.status-row:nth-child(4) .mini-progress i {
  background: #8c71d3;
}

.status-row:nth-child(5) .mini-progress i {
  background: #b9c7c3;
}

.table-panel {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid #e1e8e6;
  border-radius: 12px;
  background: white;
}

.table-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #edf1ef;
}

.table-panel-head h2 {
  margin: 0;
  font-size: 11px;
}

.table-panel-head span {
  color: #91a19d;
  font-size: 8px;
}

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

.simple-table th {
  padding: 10px 14px;
  color: #94a29f;
  border-bottom: 1px solid #edf1ef;
  background: #fafcfb;
  font-size: 7px;
  font-weight: 650;
  text-align: left;
}

.simple-table td {
  padding: 12px 14px;
  color: #627771;
  border-bottom: 1px solid #f0f3f2;
  font-size: 8px;
}

.simple-table tr:last-child td {
  border-bottom: 0;
}

.simple-table tbody tr:hover {
  background: #fbfdfc;
}

.table-project {
  display: flex;
  align-items: center;
  gap: 9px;
}

.table-project i {
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: var(--mint);
}

.table-project strong {
  display: block;
  max-width: 260px;
  overflow: hidden;
  color: #334e47;
  font-size: 8px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-project small {
  display: block;
  color: #99a7a4;
  font-size: 7px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
}

.admin-search {
  position: relative;
  min-width: 240px;
  flex: 1;
}

.admin-search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 15px;
  fill: none;
  stroke: #889994;
  stroke-width: 1.7;
  transform: translateY(-50%);
}

.admin-search input,
.admin-toolbar select,
.admin-toolbar input[type="date"] {
  height: 39px;
  color: #3b554f;
  border: 1px solid #dfe7e4;
  border-radius: 8px;
  background: white;
  font-size: 9px;
}

.admin-search input {
  width: 100%;
  padding: 0 12px 0 37px;
}

.admin-toolbar select {
  min-width: 110px;
  padding: 0 10px;
}

.admin-toolbar input[type="date"] {
  padding: 0 9px;
}

.admin-apps-panel {
  overflow: hidden;
  border: 1px solid #e1e8e6;
  border-radius: 12px;
  background: white;
}

.apps-table-wrap {
  overflow-x: auto;
}

.apps-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.apps-table th {
  padding: 11px 13px;
  color: #91a19d;
  border-bottom: 1px solid #e8eeec;
  background: #fafcfb;
  font-size: 7px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
}

.apps-table td {
  padding: 13px;
  color: #627771;
  border-bottom: 1px solid #eff3f2;
  font-size: 8px;
  vertical-align: middle;
}

.apps-table tbody tr {
  cursor: pointer;
  transition: background 150ms ease;
}

.apps-table tbody tr:hover {
  background: #f9fcfb;
}

.apps-table tbody tr:last-child td {
  border-bottom: 0;
}

.company-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: #107b6b;
  border-radius: 7px;
  background: #eaf8f4;
  font-size: 8px;
  font-weight: 750;
}

.company-cell strong {
  display: block;
  max-width: 200px;
  overflow: hidden;
  color: #334d47;
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-cell small {
  display: block;
  color: #9aa8a4;
  font-size: 7px;
}

.contact-cell strong {
  display: block;
  color: #435d57;
  font-size: 8px;
}

.contact-cell small {
  color: #96a39f;
  font-size: 7px;
}

.project-name-cell {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill,
.tier-pill {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 7px;
  font-weight: 650;
  white-space: nowrap;
}

.status-pill {
  color: #5a6d67;
  background: #f0f4f2;
}

.status-pill.status-pending {
  color: #8c6424;
  background: #fcf3df;
}

.status-pill.status-contacted,
.status-pill.status-talking {
  color: #315ca3;
  background: #eaf0fd;
}

.status-pill.status-cooperate {
  color: #087665;
  background: #e6f7f2;
}

.status-pill.status-invalid {
  color: #a04f48;
  background: #fbeeec;
}

.tier-pill {
  color: #687a75;
  border: 1px solid #e0e7e5;
  background: white;
}

.tier-pill.tier-good {
  color: #956a23;
  border-color: #efdfbd;
  background: #fff9ed;
}

.tier-pill.tier-core {
  color: #6a45a8;
  border-color: #e0d6f2;
  background: #f6f1ff;
}

.demo-badge {
  min-height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  color: #8b703f;
  background: #fbf3e4;
  font-size: 6px;
}

.pagination {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-top: 1px solid #edf1ef;
  color: #90a09c;
  font-size: 8px;
}

.page-buttons {
  display: flex;
  gap: 4px;
}

.page-buttons button {
  display: grid;
  width: 27px;
  height: 27px;
  cursor: pointer;
  place-items: center;
  color: #70837e;
  border: 1px solid #e0e7e5;
  border-radius: 6px;
  background: white;
  font-size: 8px;
}

.page-buttons button:disabled {
  cursor: default;
  opacity: 0.35;
}

.page-buttons button.is-active {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.admin-projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.admin-projects-toolbar p {
  margin: 0;
  color: #7f918c;
  font-size: 9px;
}

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

.project-admin-card {
  padding: 19px;
  border: 1px solid #e1e8e6;
  border-radius: 11px;
  background: white;
}

.project-admin-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-admin-card h3 {
  margin: 15px 0 6px;
  color: #2c4841;
  font-family: var(--serif);
  font-size: 15px;
}

.project-admin-card p {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  margin: 0;
  color: #7b8d88;
  font-size: 8px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-admin-meta {
  display: flex;
  gap: 16px;
  margin-top: 15px;
  padding-top: 13px;
  color: #91a09c;
  border-top: 1px solid #edf1ef;
  font-size: 7px;
}

.project-admin-meta strong {
  color: #526c65;
}

.project-admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 13px;
}

.project-admin-actions button {
  min-height: 29px;
  padding: 0 10px;
  cursor: pointer;
  color: #627670;
  border: 1px solid #e0e7e5;
  border-radius: 6px;
  background: white;
  font-size: 7px;
}

.project-admin-actions button:hover {
  color: var(--ink);
  border-color: #becdc9;
}

.project-published {
  color: #0b8e7a !important;
  background: #edfaf6 !important;
}

.project-unpublished {
  color: #9b6a25 !important;
  background: #fff8eb !important;
}

.partner-summary {
  display: grid;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding: 16px 19px;
  border: 1px solid #dce9e5;
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 0%, rgba(47, 198, 168, 0.08), transparent 34%),
    white;
  grid-template-columns: 135px 135px minmax(0, 1fr);
}

.partner-summary > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-right: 15px;
  border-right: 1px solid #e7eeec;
}

.partner-summary strong {
  color: #0a8e79;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.partner-summary span {
  color: #738780;
  font-size: 10px;
}

.partner-summary p {
  margin: 0;
  color: #7e918b;
  font-size: 10px;
  line-height: 1.7;
}

.partner-project-tags {
  display: flex;
  max-width: 250px;
  flex-wrap: wrap;
  gap: 4px;
}

.partner-project-tags .tag {
  color: #267b6c;
  border-color: #d7ebe6;
  background: #f4fbf9;
}

.connection-panel {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid #dce8e4;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 35px rgba(17, 47, 58, 0.045);
}

.connection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: #eaf8f4;
  background:
    radial-gradient(circle at 85% 20%, rgba(67, 222, 193, 0.14), transparent 30%),
    linear-gradient(115deg, #0a2131, #103a45);
}

.connection-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.connection-orbit {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: rgba(226, 247, 241, 0.48);
  border: 1px solid rgba(214, 245, 237, 0.17);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.connection-orbit::after {
  position: absolute;
  width: 58px;
  height: 58px;
  content: "";
  border: 1px dashed rgba(214, 245, 237, 0.12);
  border-radius: 50%;
}

.connection-orbit.is-connected {
  color: var(--mint-bright);
  border-color: rgba(68, 227, 197, 0.36);
}

.connection-orbit svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.connection-title small {
  display: block;
  margin-bottom: 4px;
  color: rgba(210, 241, 233, 0.4);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.connection-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
}

.connection-title p {
  margin: 4px 0 0;
  color: rgba(222, 244, 238, 0.48);
  font-size: 9px;
}

.connection-state {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(216, 243, 236, 0.12);
  border-radius: 7px;
  font-size: 8px;
}

.connection-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a7a1;
}

.connection-state.is-online {
  color: #b9f5e8;
  border-color: rgba(81, 224, 195, 0.2);
  background: rgba(53, 192, 165, 0.1);
}

.connection-state.is-online i {
  background: var(--mint-bright);
  box-shadow: 0 0 10px rgba(68, 227, 197, 0.85);
}

.connection-form {
  display: grid;
  align-items: end;
  gap: 13px 16px;
  padding: 22px 24px;
  border-bottom: 1px solid #edf1ef;
  grid-template-columns: minmax(0, 1fr) auto;
}

.connection-form > label:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  grid-column: 1 / -1;
}

.connection-form > label:first-child span {
  color: #36534c;
  font-size: 10px;
  font-weight: 700;
}

.connection-form > label:first-child small {
  color: #92a19d;
  font-size: 8px;
}

.connection-endpoint {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}

.endpoint-prefix {
  display: grid;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0 10px;
  color: #118976;
  border: 1px solid #cfe7e1;
  border-radius: 8px;
  background: #f1faf7;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.connection-endpoint input {
  width: 100%;
  height: 39px;
  padding: 0 11px;
  color: #34514a;
  border: 1px solid #dae5e1;
  border-radius: 8px;
  background: #fbfcfc;
  font: 11px/1.4 Consolas, "SFMono-Regular", monospace;
}

.connection-auto {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.connection-auto input {
  width: 16px;
  height: 16px;
  accent-color: var(--mint);
}

.connection-auto > span {
  color: #48635c;
  font-size: 10px;
  font-weight: 600;
}

.connection-auto small {
  display: block;
  color: #97a5a1;
  font-size: 8px;
  font-weight: 400;
}

.connection-actions {
  display: flex;
  gap: 7px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.connection-actions .button {
  min-height: 36px;
  font-size: 9px;
}

.connection-result {
  display: grid;
  align-items: center;
  gap: 1px;
  overflow: hidden;
  background: #e8eeec;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.connection-result > div {
  min-height: 57px;
  padding: 12px 18px;
  background: #fbfcfc;
}

.connection-result span {
  display: block;
  color: #96a49f;
  font-size: 8px;
}

.connection-result strong {
  display: block;
  margin-top: 3px;
  color: #415c55;
  font-size: 10px;
}

.connection-result.is-success strong {
  color: #0a8875;
}

.connection-result > p {
  margin: 0;
  padding: 10px 18px;
  color: #7a8e88;
  border-top: 1px solid #e8eeec;
  background: white;
  font-size: 8px;
  grid-column: 1 / -1;
}

.sync-rule-grid {
  display: grid;
  padding: 20px;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sync-rule-grid > div {
  padding: 16px;
  border: 1px solid #e7edeb;
  border-radius: 9px;
  background: #fbfcfc;
}

.sync-rule-grid span {
  color: #0a927d;
  font-family: var(--serif);
  font-size: 9px;
}

.sync-rule-grid strong {
  display: block;
  margin-top: 9px;
  color: #36534c;
  font-size: 10px;
}

.sync-rule-grid p {
  margin: 5px 0 0;
  color: #7e918b;
  font-size: 9px;
  line-height: 1.7;
}

.connection-footnote {
  padding: 13px 20px;
  color: #8a9a96;
  border-top: 1px solid #edf1ef;
  background: #fafcfb;
  font-size: 8px;
}

.approval-company {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #e2ebe8;
  border-radius: 9px;
  background: #fafcfb;
}

.approval-company .company-avatar {
  width: 38px;
  height: 38px;
}

.approval-company strong {
  display: block;
  color: #304c45;
  font-size: 12px;
}

.approval-company small {
  color: #92a19d;
  font-size: 8px;
}

.approval-fields {
  display: grid;
  gap: 11px;
  margin-top: 18px;
  grid-template-columns: 170px minmax(0, 1fr);
}

.approval-fields label {
  color: #60766f;
  font-size: 9px;
}

.approval-fields input {
  width: 100%;
  height: 37px;
  margin-top: 5px;
  padding: 0 9px;
  color: #405c55;
  border: 1px solid #dce5e2;
  border-radius: 7px;
  background: #fbfcfc;
  font-size: 10px;
}

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

.approval-project {
  position: relative;
  cursor: pointer;
}

.approval-project input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.approval-project > span {
  display: flex;
  min-height: 57px;
  flex-direction: column;
  justify-content: center;
  padding: 9px 35px 9px 11px;
  border: 1px solid #dfe8e5;
  border-radius: 8px;
  background: #fbfcfc;
}

.approval-project > span::after {
  position: absolute;
  top: 20px;
  right: 11px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  content: "✓";
  color: transparent;
  border: 1px solid #d3dfdc;
  border-radius: 4px;
  background: white;
  font-size: 9px;
}

.approval-project input:checked + span {
  border-color: #8ad5c6;
  background: #f0fbf8;
}

.approval-project input:checked + span::after {
  color: #06241e;
  border-color: var(--mint);
  background: var(--mint-bright);
}

.approval-project input:focus-visible + span {
  outline: 3px solid rgba(37, 191, 164, 0.22);
  outline-offset: 2px;
}

.approval-project small {
  color: #0a8e79;
  font-size: 8px;
}

.approval-project strong {
  margin-top: 2px;
  color: #425e57;
  font-size: 10px;
  line-height: 1.45;
}

.empty-inline {
  margin: 0;
  color: #8e9e99;
  font-size: 9px;
  grid-column: 1 / -1;
}

.admin-drawer {
  width: min(650px, 100%);
  max-height: 100vh;
  margin-left: auto;
  border-radius: 16px 0 0 16px;
}

.modal-layer.drawer-layer {
  justify-items: end;
  padding: 0;
}

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

.drawer-company .company-avatar {
  width: 42px;
  height: 42px;
  font-size: 12px;
}

.drawer-company strong {
  display: block;
  color: #29463f;
  font-size: 12px;
}

.drawer-company small {
  color: #8b9b97;
  font-size: 8px;
}

.drawer-controls {
  display: grid;
  gap: 11px;
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #e1e9e6;
  border-radius: 10px;
  background: #f9fbfa;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drawer-controls label {
  color: #7a8d87;
  font-size: 8px;
}

.drawer-controls select {
  width: 100%;
  height: 35px;
  margin-top: 5px;
  padding: 0 9px;
  color: #405b54;
  border: 1px solid #dbe5e1;
  border-radius: 7px;
  background: white;
  font-size: 9px;
}

.drawer-section {
  margin-top: 18px;
}

.drawer-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #314e47;
  font-size: 9px;
}

.drawer-section h3::before {
  width: 3px;
  height: 12px;
  content: "";
  border-radius: 2px;
  background: var(--mint);
}

.drawer-fields {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e8edeb;
  border-radius: 8px;
  background: #e8edeb;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drawer-field {
  min-width: 0;
  padding: 10px 12px;
  background: #fbfcfc;
}

.drawer-field span {
  display: block;
  color: #99a6a3;
  font-size: 7px;
}

.drawer-field strong {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: #4d6560;
  font-size: 9px;
  font-weight: 550;
}

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

.drawer-notes {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  color: #435c56;
  border: 1px solid #dce5e2;
  border-radius: 7px;
  background: #fbfcfc;
  font-size: 9px;
  line-height: 1.7;
  resize: vertical;
}

.note-list {
  display: grid;
  gap: 7px;
  margin-bottom: 9px;
}

.note-item {
  padding: 11px 12px;
  border: 1px solid #e3eae8;
  border-radius: 7px;
  background: #fbfcfc;
}

.note-item p {
  margin: 0 0 5px;
  color: #526a64;
  font-size: 9px;
  line-height: 1.65;
}

.note-item span {
  color: #9ba8a5;
  font-size: 7px;
}

.note-compose {
  display: flex;
  gap: 7px;
}

.note-compose input {
  min-width: 0;
  height: 36px;
  flex: 1;
  padding: 0 10px;
  color: #405b54;
  border: 1px solid #dce5e2;
  border-radius: 7px;
  background: white;
  font-size: 9px;
}

.note-compose button {
  min-height: 36px;
  padding: 0 13px;
  cursor: pointer;
  color: white;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  font-size: 8px;
}

.drawer-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.drawer-file {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #267d6d;
  border: 1px solid #cfe7e1;
  border-radius: 6px;
  background: #f2fbf8;
  font-size: 8px;
}

.drawer-save {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid #edf1ef;
}

.project-form-grid {
  display: grid;
  gap: 14px 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-form-grid .full {
  grid-column: 1 / -1;
}

.project-form-grid label {
  display: block;
  margin-bottom: 6px;
  color: #3d564f;
  font-size: 9px;
  font-weight: 650;
}

.project-form-grid input,
.project-form-grid select,
.project-form-grid textarea {
  width: 100%;
  color: #36524b;
  border: 1px solid #dce5e2;
  border-radius: 7px;
  background: #fbfcfc;
  font-size: 9px;
}

.project-form-grid input,
.project-form-grid select {
  height: 38px;
  padding: 0 10px;
}

.project-form-grid textarea {
  min-height: 78px;
  padding: 9px 10px;
  line-height: 1.65;
  resize: vertical;
}

.switch-row {
  display: flex;
  gap: 20px;
}

.switch-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-weight: 500;
}

.switch-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--mint);
}

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

.integration-card {
  padding: 24px;
  border: 1px solid #e1e8e6;
  border-radius: 12px;
  background: white;
}

.integration-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #0b917b;
  border-radius: 9px;
  background: var(--mint-soft);
}

.integration-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.integration-card h2 {
  margin: 17px 0 6px;
  font-size: 12px;
}

.integration-card p {
  margin: 0;
  color: #7b8e88;
  font-size: 9px;
  line-height: 1.75;
}

.integration-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding-top: 15px;
  color: #8a9a96;
  border-top: 1px solid #edf1ef;
  font-size: 8px;
}

.integration-status::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--mint);
}

.integration-card .button {
  width: 100%;
  margin-top: 17px;
  min-height: 39px;
  font-size: 9px;
}

.settings-panel {
  max-width: 770px;
  padding: 25px;
  border: 1px solid #e1e8e6;
  border-radius: 12px;
  background: white;
}

.settings-panel h2 {
  margin: 0 0 4px;
  font-size: 12px;
}

.settings-panel > p {
  margin: 0 0 22px;
  color: #8b9b97;
  font-size: 8px;
}

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

.settings-grid .full {
  grid-column: 1 / -1;
}

.settings-grid label {
  display: block;
  margin-bottom: 6px;
  color: #455f58;
  font-size: 9px;
}

.settings-grid input,
.settings-grid textarea {
  width: 100%;
  color: #3b564f;
  border: 1px solid #dce5e2;
  border-radius: 7px;
  background: #fbfcfc;
  font-size: 9px;
}

.settings-grid input {
  height: 38px;
  padding: 0 10px;
}

.settings-grid textarea {
  min-height: 85px;
  padding: 9px 10px;
  resize: vertical;
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #edf1ef;
}

.admin-loading {
  display: grid;
  min-height: 70vh;
  place-content: center;
  place-items: center;
  gap: 14px;
  color: #84948f;
  font-size: 9px;
}

.admin-loading .spinner {
  width: 22px;
  height: 22px;
  border-color: #d8e5e1;
  border-top-color: var(--mint);
}

.empty-table {
  padding: 50px 20px;
  color: #92a19d;
  font-size: 9px;
  text-align: center;
}

.skeleton {
  min-height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #edf2f0, #f6f9f8, #edf2f0);
  background-size: 200% 100%;
  animation: skeleton 1.3s infinite;
}

@keyframes skeleton {
  to {
    background-position: -200% 0;
  }
}

/* Admin data needs to stay readable during long operational shifts. */
.admin-brand strong {
  font-size: 13px;
}

.admin-brand small {
  font-size: 8px;
}

.admin-nav-label {
  font-size: 9px;
}

.admin-nav button {
  min-height: 46px;
  font-size: 12px;
}

.admin-nav .nav-count {
  font-size: 9px;
}

.admin-user strong {
  font-size: 11px;
}

.admin-user small,
.admin-sidebar-foot button {
  font-size: 9px;
}

.admin-topbar small {
  font-size: 10px;
}

.admin-topbar-subtitle {
  display: block;
  margin-top: 2px;
  color: #7f918c;
  font-size: 11px;
}

.admin-top-actions .button-small {
  min-height: 40px;
  font-size: 11px;
}

.admin-demo-note {
  font-size: 11px;
}

.admin-demo-note button {
  font-size: 10px;
}

.stat-label {
  font-size: 11px;
}

.stat-value small {
  font-size: 10px;
}

.stat-compare {
  font-size: 9px;
}

.admin-panel-head h2 {
  font-size: 13px;
}

.admin-panel-head p,
.admin-panel-head > span,
.admin-panel-head .text-button {
  font-size: 9.5px;
}

.trend-bar-wrap span {
  font-size: 9px;
}

.trend-bar-wrap strong {
  font-size: 10px;
}

.status-row > span,
.status-row > strong {
  font-size: 10px;
}

.simple-table th {
  font-size: 9.5px;
}

.simple-table td {
  font-size: 10.5px;
}

.table-project strong {
  font-size: 10.5px;
}

.table-project small {
  font-size: 8.5px;
}

.admin-search input,
.admin-toolbar select,
.admin-toolbar input[type="date"] {
  font-size: 11px;
}

.apps-table th {
  font-size: 9.5px;
}

.apps-table td {
  font-size: 10.5px;
}

.company-cell strong {
  font-size: 11px;
}

.company-cell small,
.contact-cell small {
  font-size: 9px;
}

.contact-cell strong {
  font-size: 10.5px;
}

.status-pill,
.tier-pill {
  font-size: 9px;
}

.demo-badge {
  font-size: 8px;
}

.pagination {
  font-size: 10px;
}

.page-buttons button {
  font-size: 10px;
}

.project-admin-card h3 {
  font-size: 17px;
}

.project-admin-card p {
  font-size: 10px;
}

.project-admin-meta,
.project-admin-actions button {
  font-size: 9.5px;
}

.project-admin-actions button {
  min-height: 32px;
}

.integration-card h2 {
  font-size: 14px;
}

.integration-card p {
  font-size: 11px;
}

.integration-status {
  font-size: 9.5px;
}

.integration-card .button {
  font-size: 10.5px;
}

.settings-panel h2 {
  font-size: 14px;
}

.settings-panel > p {
  font-size: 10px;
}

.settings-grid label,
.settings-grid input,
.settings-grid textarea,
.project-form-grid label,
.project-form-grid input,
.project-form-grid select,
.project-form-grid textarea {
  font-size: 11px;
}

.drawer-controls label,
.drawer-section h3 {
  font-size: 10px;
}

.drawer-controls select {
  font-size: 11px;
}

.drawer-field span {
  font-size: 9px;
}

.drawer-field strong {
  font-size: 10.5px;
}

.drawer-notes,
.note-item p,
.note-compose input,
.drawer-file {
  font-size: 10.5px;
}

.note-item span {
  font-size: 8.5px;
}

@media (max-width: 1060px) {
  .site-header {
    padding: 0 24px;
  }

  .main-nav {
    gap: 22px;
  }

  .hero-inner {
    gap: 20px;
    grid-template-columns: 1.12fr 0.88fr;
  }

  .network-visual {
    width: 410px;
    max-width: 100%;
  }

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

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

  .admin-shell {
    grid-template-columns: 202px minmax(0, 1fr);
  }

  .admin-main {
    padding: 24px;
  }

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

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
    padding: 0 17px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    left: 50%;
  }

  .hero-inner {
    min-height: auto;
    padding: 62px 0 40px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(43px, 11vw, 66px);
  }

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

  .network-visual {
    width: min(430px, 92%);
    margin: 30px auto 0;
    justify-self: center;
  }

  .hero-proof {
    margin-top: 30px;
  }

  .section {
    padding: 76px 22px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

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

  .metric-item {
    padding: 23px 20px 20px 0;
  }

  .metric-item:nth-child(2) {
    padding-left: 20px;
    border-right: 0;
  }

  .metric-item:nth-child(3) {
    border-top: 1px solid var(--line-dark);
  }

  .metric-item:nth-child(4) {
    padding-left: 20px;
    border-top: 1px solid var(--line-dark);
  }

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

  .process-step {
    padding: 25px 22px 27px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:not(:first-child) {
    padding-left: 22px;
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .cta-band {
    padding: 0 22px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px 32px;
  }

  .page-hero-inner {
    width: calc(100% - 44px);
    padding: 58px 0 50px;
  }

  .projects-shell {
    width: calc(100% - 44px);
    padding: 36px 0 74px;
  }

  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    max-width: none;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

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

  .project-card {
    min-height: 305px;
  }

  .apply-shell {
    width: calc(100% - 36px);
    padding: 43px 0 75px;
  }

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

  .apply-layout {
    grid-template-columns: 1fr;
  }

  .apply-steps {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 15px;
  }

  .steps-caption,
  .step-item small,
  .form-security {
    display: none;
  }

  .step-item {
    min-width: 140px;
    padding: 0 18px 0 0;
  }

  .step-item:not(:last-child)::after {
    top: 11px;
    right: 12px;
    bottom: auto;
    left: 23px;
    width: auto;
    height: 1px;
  }

  .form-step {
    padding: 27px 22px 23px;
  }

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

  .field.full {
    grid-column: auto;
  }

  .project-select-list {
    grid-template-columns: 1fr;
  }

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

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

  .about-lead {
    position: static;
  }

  .modal-layer {
    align-items: end;
    padding: 12px;
  }

  .modal {
    max-height: 91vh;
    border-radius: 17px;
  }

  .modal-head {
    padding: 22px 20px 16px;
  }

  .modal-body {
    padding: 22px 20px;
  }

  .modal-foot {
    align-items: stretch;
    flex-direction: column;
    padding: 16px 20px;
  }

  .modal-actions .button {
    flex: 1;
  }

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

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: fixed;
    z-index: 80;
    top: 0;
    bottom: 0;
    left: 0;
    width: 220px;
    transform: translateX(-105%);
    transition: transform 230ms var(--ease);
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-main {
    padding: 18px 16px 50px;
  }

  .admin-mobile-menu {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 auto;
    cursor: pointer;
    place-items: center;
    border: 1px solid #dce5e2;
    border-radius: 8px;
    background: white;
  }

  .admin-topbar {
    align-items: center;
  }

  .admin-topbar > div:nth-child(2) {
    flex: 1;
  }

  .admin-topbar h1 {
    font-size: 23px;
  }

  .admin-top-actions .button span {
    display: none;
  }

  .admin-demo-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .stats-grid {
    gap: 9px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-value strong {
    font-size: 30px;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .admin-search {
    min-width: 100%;
  }

  .admin-toolbar select {
    flex: 1;
  }

  .project-admin-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .partner-summary {
    grid-template-columns: 1fr 1fr;
  }

  .partner-summary p {
    grid-column: 1 / -1;
  }

  .partner-summary > div:nth-child(2) {
    border-right: 0;
  }

  .connection-form {
    grid-template-columns: 1fr;
  }

  .connection-endpoint,
  .connection-actions {
    grid-column: 1;
  }

  .connection-result {
    grid-template-columns: 1fr;
  }

  .connection-result > p {
    grid-column: 1;
  }

  .sync-rule-grid {
    grid-template-columns: 1fr;
  }

  .project-form-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .project-form-grid .full,
  .settings-grid .full {
    grid-column: auto;
  }

  .drawer-layer {
    padding: 0;
  }

  .admin-drawer {
    max-height: 100vh;
    border-radius: 0;
  }

  .drawer-fields {
    grid-template-columns: 1fr;
  }

  .drawer-field.full {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 63px 18px;
  }

  .hero-inner {
    width: calc(100% - 36px);
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(41px, 12.5vw, 58px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .network-visual {
    width: 100%;
    transform: scale(0.94);
  }

  .network-node {
    padding: 7px 9px;
  }

  .network-node small {
    display: none;
  }

  .network-core {
    width: 128px;
    height: 128px;
  }

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

  .track-card {
    min-height: 195px;
  }

  .track-icon {
    margin-top: 17px;
  }

  .section-title {
    font-size: 34px;
  }

  .metrics-band {
    margin-top: 50px;
  }

  .metric-item strong {
    font-size: 32px;
  }

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

  .process-step,
  .process-step:not(:first-child),
  .process-step:nth-child(3) {
    padding: 22px 0;
    border-right: 0;
  }

  .process-step h3 {
    margin: 25px 0 7px;
  }

  .cta-band {
    padding: 0 18px;
  }

  .cta-inner {
    padding: 35px 24px;
  }

  .cta-inner .button {
    width: 100%;
  }

  .page-hero-inner,
  .projects-shell {
    width: calc(100% - 36px);
  }

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

  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-tab {
    padding: 0 6px;
  }

  .apply-header h1 {
    font-size: 35px;
  }

  .apply-steps {
    border-radius: 12px;
  }

  .step-item {
    min-width: 119px;
  }

  .form-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .form-title-row h2 {
    font-size: 24px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions-right {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .form-actions > .button {
    width: 100%;
  }

  .upload-zone {
    min-height: 128px;
  }

  .success-view {
    padding: 55px 22px 60px;
  }

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

  .about-lead h2 {
    font-size: 35px;
  }

  .requirement-card {
    padding: 19px;
    grid-template-columns: 30px 1fr;
    gap: 14px;
  }

  .requirement-index {
    width: 30px;
    height: 30px;
  }

  .modal {
    width: 100%;
  }

  .modal-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .share-hero {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .share-hero > button {
    margin-left: 51px;
  }

  .share-link-row {
    align-items: stretch;
    flex-direction: column;
  }

  .share-link-row > button {
    justify-content: center;
  }

  .detail-facts {
    grid-template-columns: 1fr 1fr;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .login-card {
    padding: 28px 22px;
  }

  .admin-main {
    padding: 14px 11px 40px;
  }

  .connection-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .connection-form {
    padding: 18px 15px;
  }

  .connection-endpoint {
    align-items: stretch;
    flex-direction: column;
  }

  .endpoint-prefix {
    width: max-content;
    height: 22px;
  }

  .connection-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .connection-actions .button-primary {
    grid-column: 1 / -1;
  }

  .connection-result > div {
    padding: 10px 15px;
  }

  .partner-summary {
    padding: 14px;
  }

  .approval-fields,
  .approval-projects {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    gap: 9px;
  }

  .admin-topbar small {
    display: none;
  }

  .admin-top-actions .button {
    min-width: 37px;
    padding: 0 10px;
  }

  .admin-demo-note {
    font-size: 8px;
  }

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

  .stat-label {
    font-size: 8px;
  }

  .stat-compare {
    font-size: 7px;
  }

  .trend-chart {
    gap: 5px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .admin-toolbar input[type="date"] {
    width: calc(50% - 5px);
  }

  .pagination {
    gap: 9px;
  }

  .drawer-controls {
    grid-template-columns: 1fr;
  }

  .note-compose {
    flex-direction: column;
  }

  .settings-panel {
    padding: 19px 15px;
  }
}

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