:root {
  --lime: #d1fa5b;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.16);
  --header-h: 96px;
  --c1: #000000;
  --c2: #002a6c;
  --glow: #d1fa5b;
  --accent: #a5ffaf;
  --font: "Noto Sans Georgian", "Segoe UI", sans-serif;
}

html {
  background: #000000;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  z-index: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 62% 46% at 50% 8%, color-mix(in srgb, var(--glow) 48%, transparent), transparent 68%),
    radial-gradient(ellipse 38% 32% at 8% 92%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%),
    linear-gradient(165deg, var(--c1) 0%, color-mix(in srgb, var(--c2) 78%, #000000) 64%, #000000 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--lime);
  color: #111111;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 0.7rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-shade {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 999px;
  transition:
    left 0.45s ease,
    top 0.45s ease,
    width 0.45s ease,
    height 0.45s ease,
    border-radius 0.45s ease,
    background 0.45s ease;
}

.site-header.is-scrolled .header-shade {
  background: rgba(6, 8, 10, 0.78);
  border-color: transparent;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.header-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.55rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  grid-column: 1;
}

.brand img,
.footer-brand img {
  height: 68px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  grid-column: 2;
  min-width: 0;
}

.auth-mobile {
  display: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.site-header.is-ready .menu {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.menu-item {
  position: relative;
  display: flex;
  align-self: stretch;
}

.menu-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.95rem;
}

.menu-link::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -0.45rem;
  bottom: -0.45rem;
  left: -0.08rem;
  right: -0.08rem;
}

.menu-item:first-child > .menu-link::after {
  left: -0.5rem;
}

.menu-item:last-child > .menu-link::after {
  right: -0.5rem;
}

.menu-link:hover,
.menu-item:hover > .menu-link,
.menu-link[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.auth-desktop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
  grid-column: 3;
}

.auth-name {
  color: white;
  font-size: 0.92rem;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

a.auth-name:hover {
  color: var(--lime);
}

.auth-card [data-form-note].is-error {
  color: #ffb4b4;
}

.btn-ghost,
.btn-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.48rem 1rem;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: white;
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-lime {
  border: 0;
  background: var(--lime);
  color: #111111;
  font-weight: 600;
}

.btn-lime:hover {
  background: #e7ff8a;
  color: #111111;
}

.mega {
  position: fixed;
  top: calc(var(--header-h) - 28px);
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 22px;
  z-index: 30;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s ease;
}

.menu-item:hover > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-item.is-suppressed > .mega,
.menu-item.is-suppressed:hover > .mega,
.menu-item.is-suppressed:focus-within > .mega {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
}

.mega-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr);
  gap: 0.35rem;
  min-height: 340px;
  padding: 0.7rem 1.25rem;
  background: rgba(8, 10, 14, 0.97);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.mega-visual {
  position: relative;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  background: #0c0d0f;
}

.mega-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-visual.is-logo img {
  object-fit: contain;
  padding: 2.2rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(209, 250, 91, 0.22), transparent 62%),
    #0b0c0e;
}

.mega-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.05rem 0.85rem 0.9rem 0.7rem;
}

.mega-copy h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.mega-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mega-more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: white;
  color: #141414;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.mega-more:hover {
  background: var(--lime);
  color: #141414;
}

.mega-links,
.mega-sub {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-links {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  color: white;
}

.mega-chevron {
  opacity: 0;
}

.mega-links a:hover,
.mega-links a.is-current,
.mega-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.94);
  color: #141414;
}

.mega-links a:hover .mega-chevron,
.mega-links a.is-current .mega-chevron,
.mega-links a[aria-current="page"] .mega-chevron {
  opacity: 1;
}

.mega-sub {
  position: relative;
  min-width: 0;
}

.mega-sub-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.mega-sub-links.is-current {
  display: flex;
}

.mega-sub-label {
  display: none;
  padding: 0.65rem 0.85rem 0.1rem;
  color: var(--lime);
  font-size: 0.82rem;
}

.mega-sub-links a {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.mega-sub-links a:hover,
.mega-sub-links a.is-current,
.mega-sub-links a[aria-current="page"] {
  color: var(--lime);
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(6, 8, 10, 0.42));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 22px;
}

main {
  padding-top: var(--header-h);
}

.section-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 100%, rgba(209, 250, 91, 0.16), transparent 62%),
    #050605;
}

.hero-glow {
  position: absolute;
  width: min(520px, 62vw);
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(209, 250, 91, 0) 0 10px,
      rgba(209, 250, 91, 0.09) 11px 12px,
      rgba(209, 250, 91, 0) 13px 28px
    ),
    linear-gradient(180deg, rgba(209, 250, 91, 0) 0%, rgba(209, 250, 91, 0.16) 28%, rgba(209, 250, 91, 0.62) 72%, rgba(122, 238, 155, 0.28) 100%);
  filter: blur(0.4px);
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--lime);
  font-size: 0.92rem;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 {
  margin: 0 auto 1rem;
  max-width: 15em;
  font-size: clamp(2.15rem, 4.4vw, 4.15rem);
}

.lime {
  color: var(--lime);
}

.lede,
.prose {
  color: var(--muted);
  font-size: 1.05rem;
}

.lede {
  max-width: 38rem;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 3.2rem;
  text-align: left;
  align-items: center;
}

.stat-card {
  min-height: 340px;
  padding: 1.35rem 1.3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stat-card:nth-child(1) { transform: rotate(-8deg) translateY(16px); }
.stat-card:nth-child(2) { transform: none; min-height: 400px; z-index: 2; }
.stat-card:nth-child(3) { transform: rotate(8deg) translateY(16px); }

.stat-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}

.stat-value {
  color: var(--lime);
}

.stat-graph-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.stat-badge {
  border: 1px solid rgba(209, 250, 91, 0.7);
  color: var(--lime);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.stat-graph {
  width: 100%;
  height: 120px;
  margin-top: auto;
  display: block;
}

.stat-detail {
  margin: auto 0 0;
  color: var(--muted);
}

.stat-meters {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.stat-meters li {
  display: grid;
  gap: 0.28rem;
  color: white;
  font-size: 0.92rem;
}

.meter {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #d1fa5b;
}

.stat-kicker,
.story-date {
  margin: 0;
  color: var(--lime);
  font-size: 0.78rem;
}

.stat-value {
  margin: 0.15rem 0;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label,
.sample-note {
  margin: 0;
  color: var(--muted);
}

.sample-note {
  margin-top: 2.4rem;
  font-size: 0.92rem;
}

.section {
  padding: 5.5rem 0;
}

.section h2,
.interior h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.about-panel {
  padding: 1.4rem;
}

.about-panel img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.about-panel p,
.child-card p {
  margin: 0;
  color: var(--muted);
}

.about-grid .btn-lime {
  margin-top: 0.5rem;
}

.child-grid,
.news-layout,
.footer-groups {
  display: grid;
  gap: 1rem;
}

.child-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.child-card,
.news-card {
  color: inherit;
  text-decoration: none;
}

.child-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.3rem;
  min-height: 100%;
}

.child-card img {
  width: 88px;
  height: 88px;
}

.child-card h3,
.story-title {
  margin: 0;
  font-size: 1.35rem;
}

.card-cta {
  margin-top: auto;
  color: var(--lime);
  font-weight: 600;
}

.child-card:hover,
.news-card:hover {
  border-color: rgba(209, 250, 91, 0.65);
}

.news-layout {
  display: block;
}

.news-scroller {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  height: auto;
  padding: 0.2rem 0.2rem 0.8rem;
  cursor: grab;
}

.news-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.news-scroller::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.news-scroller::-webkit-scrollbar-thumb {
  background: rgba(209, 250, 91, 0.5);
  border-radius: 99px;
}

.news-scroller .news-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.75rem;
}

.news-index .news-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem;
}

.news-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 14px;
  pointer-events: none;
}

.news-index .news-card img {
  height: 112px;
}

.news-card span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.story-summary {
  color: var(--muted);
}

.interior {
  padding: 4.2rem 0 5rem;
}

.interior-wrap {
  max-width: 860px;
}

.interior-hero {
  width: min(100%, 820px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  margin: 0.5rem 0 1.2rem;
}

.interior-hero.is-logo {
  width: 148px;
  height: 148px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
}

.fact-list,
.link-row,
.footer-groups ul,
.footer-groups h2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fact-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.fact-list li {
  padding: 0.85rem 1rem;
}

.contact-facts a {
  color: var(--lime);
  text-decoration: none;
}

.interior.is-contact {
  padding: 0;
  background: #e6e6e6;
  color: #2b2b2b;
}

.contact-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1.08fr);
  align-items: stretch;
  min-height: calc(100svh - var(--header-h));
  background: #e6e6e6;
}

.contact-copy {
  background: #ffffff;
  padding: 4.6rem 3.4rem 3.5rem 4.8rem;
}

.contact-copy h1 {
  margin: 0;
  color: #1c1c1c;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.contact-city {
  margin: 1.6rem 0 1.15rem;
  color: #1d4ed8;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.contact-lines {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 2.2rem;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1c1c1c;
  font-size: 1.05rem;
}

.contact-lines a {
  color: inherit;
  text-decoration: none;
}

.contact-ico {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
}

.contact-ico svg {
  width: 1.05rem;
  height: 1.05rem;
}

.contact-copy h2 {
  margin: 0 0 1rem;
  color: #1c1c1c;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  max-width: 26.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: #ececec;
  color: #222222;
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  resize: vertical;
}

.contact-form textarea {
  min-height: 4.6rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9a9a9a;
}

.contact-form button {
  margin-top: 0.35rem;
  border: 0;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.contact-form button:hover {
  background: #2a2a2a;
}

.contact-map-wrap {
  position: relative;
  min-height: 640px;
  padding: 2.4rem 2.6rem 3.4rem 1.4rem;
}

.contact-map-back {
  position: absolute;
  right: 1.15rem;
  bottom: 1.55rem;
  width: 46%;
  height: 48%;
  background: #bdbdbd;
}

.contact-map-wrap iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  background: #dddddd;
}

@media (max-width: 900px) {
  .contact-board {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding: 2.2rem 1.25rem 1.6rem;
  }

  .contact-map-wrap {
    min-height: 460px;
    padding: 0.4rem 1rem 2rem;
  }

  .contact-map-wrap iframe {
    min-height: 440px;
  }
}

.auth-popup {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: white;
}

.auth-popup:not([open]) {
  display: none;
}

.auth-popup[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-popup::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: auth-fade 0.22s ease;
}

.auth-popup-card {
  position: relative;
  width: min(440px, 100%);
  padding: 1.4rem 1.35rem 1.2rem;
  border-radius: 22px;
  background: rgba(8, 10, 14, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: auth-rise 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-popup-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.auth-popup-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.auth-popup-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.auth-popup .auth-card {
  margin-top: 0;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@keyframes auth-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes auth-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.auth-card {
  display: grid;
  gap: 0.8rem;
  max-width: 440px;
  margin-top: 1.2rem;
  padding: 1.2rem;
}

.auth-card label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.auth-card input,
.auth-card textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  padding: 0.65rem 0.75rem;
}

.auth-card button {
  border: 0;
  cursor: pointer;
}

.auth-card p,
.auth-card a {
  margin: 0;
  color: var(--muted);
}

.cabinet-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.cabinet-menu {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem;
}

.cabinet-item,
.cabinet-group-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: white;
  font: inherit;
  text-align: start;
  text-decoration: none;
  padding: 0.68rem 0.8rem;
  cursor: pointer;
}

.cabinet-item:hover,
.cabinet-group-toggle:hover,
.cabinet-item.is-current {
  background: rgba(209, 250, 91, 0.16);
}

.cabinet-item.is-current {
  color: #d1fa5b;
}

.cabinet-caret {
  width: 0.45rem;
  height: 0.45rem;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.cabinet-group-toggle[aria-expanded="true"] .cabinet-caret {
  transform: rotate(45deg) translateY(-2px);
}

.cabinet-sub {
  display: grid;
  gap: 0.1rem;
  padding: 0.1rem 0 0.35rem 0.75rem;
}

.cabinet-sub .cabinet-item {
  font-size: 0.92rem;
}

.cabinet-panel {
  padding: 1.4rem 1.5rem 1.6rem;
  min-height: 18rem;
}

.cabinet-panel h1 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
}

.cabinet-empty {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.account-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-top: -2.7rem;
  margin-bottom: 0.6rem;
}

.account-plus {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
}

.account-card {
  max-width: 760px;
}

.account-rows {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.account-card input[readonly] {
  color: rgba(255, 255, 255, 0.86);
}

.account-card abbr,
.auth-card abbr {
  margin-left: 0.2rem;
  color: #ff5d73;
  text-decoration: none;
}

.phone-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  position: relative;
}

.phone-code,
.phone-menu button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  font: inherit;
  cursor: pointer;
}

.phone-code {
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
}

.phone-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.phone-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.35rem);
  left: 0;
  width: min(24rem, 100%);
  max-height: 16rem;
  overflow: auto;
  display: grid;
  gap: 0.25rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: #10233d;
}

.phone-menu button {
  width: 100%;
  justify-content: flex-start;
  padding: 0.4rem 0.55rem;
  background: transparent;
}

.phone-menu button[aria-selected="true"],
.phone-menu button:hover {
  background: rgba(0, 102, 216, 0.45);
}

.phone-search {
  margin-bottom: 0.2rem;
}

.account-companies {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}

.account-companies button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: white;
  text-align: left;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
}

.account-companies button.is-current {
  border-color: var(--lime);
}

.account-company {
  display: grid;
}

.account-company > button {
  width: 100%;
}

.account-reveal {
  height: 0;
  overflow: hidden;
}

.account-reveal-inner {
  min-height: 0;
}

.account-reveal .account-card {
  margin-top: 0.55rem;
}

.account-locked {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.account-fixed {
  margin: 0;
  min-height: 2.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.86);
  padding: 0.65rem 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .account-reveal {
    transition: none;
  }
}

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

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

.account-table th,
.account-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  font-size: 0.86rem;
  vertical-align: top;
}

.account-table th {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.cabinet-back {
  margin-top: 0;
  margin-bottom: 1rem;
}

.cabinet-quiet {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 767.98px) {
  .cabinet-layout {
    grid-template-columns: 1fr;
  }

  .account-toolbar {
    margin-top: 0.4rem;
  }
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.news-index {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.38);
  padding: 3rem 0 2.2rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.footer-brand {
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.footer-brand p {
  margin: 0.9rem 0 0.4rem;
  color: var(--muted);
}

.footer-mail {
  color: var(--lime);
  text-decoration: none;
}

.footer-groups {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.footer-groups h2 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.footer-groups a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.footer-groups a:hover {
  color: var(--lime);
}

.footer-groups ul {
  display: grid;
  gap: 0.35rem;
}

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

@media (max-width: 1199.98px) {
  .brand img {
    height: 54px;
  }

  .menu-link,
  .btn-ghost,
  .btn-lime {
    font-size: 0.86rem;
    padding-inline: 0.65rem;
  }
}

@media (max-width: 991.98px) {
  .header-bar {
    display: flex;
    flex-wrap: wrap;
  }

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

  .auth-desktop {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 0.8rem 1rem 1.1rem;
    background: rgba(8, 10, 12, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.is-open .auth-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .menu-item:hover > .mega,
  .menu-item:focus-within > .mega,
  .mega {
    display: none;
  }

  .site-nav.is-open .menu-item > .mega {
    display: block;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    padding-top: 0.35rem;
    margin: 0 0 0.6rem;
  }

  .site-nav.is-open .mega-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .site-nav.is-open .mega-links,
  .site-nav.is-open .mega-sub {
    border-left: 0;
  }

  .site-nav.is-open .mega-sub-links {
    display: flex;
    min-height: 0;
  }

  .site-nav.is-open .mega-sub-label {
    display: block;
  }

  .mega-visual {
    min-height: 160px;
  }

  .about-grid,
  .child-grid,
  .news-layout,
  .footer-groups,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2),
  .stat-card:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .news-index .news-card {
    grid-template-columns: 1fr;
  }

  .news-scroller .news-card {
    flex-basis: 78vw;
  }

  .hero {
    text-align: left;
  }

  .lede {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-card:nth-child(1),
  .stat-card:nth-child(2),
  .stat-card:nth-child(3) {
    transform: none;
  }

  .header-shade {
    transition: none;
  }
}

.mine { display: grid; gap: 0.9rem; }

.mine-kicker {
  margin: 0.4rem 0 0;
  color: #9eb6d6;
  font-size: 0.82rem;
  font-weight: 700;
}

.mine-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.mine-card,
.mine-counts article,
.mine-feed article {
  border: 1px solid rgba(130, 168, 220, 0.22);
  border-radius: 16px;
  background: rgba(8, 20, 40, 0.72);
  padding: 0.85rem 0.9rem;
}

.mine-card { position: relative; }

.mine-card:has(.mine-delete) { padding-right: 3.1rem; }

button.mine-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 59, 74, 0.18);
  color: #ff8d98;
  cursor: pointer;
}

button.mine-delete svg { width: 1rem; height: 1rem; }

button.mine-delete:disabled { opacity: 0.55; cursor: default; }

.mine-card > button.mine-delete {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
}

.mine-card h2,
.mine-feed h2 { margin: 0.15rem 0; font-size: 1rem; }

.mine-kind,
.mine-code,
.mine-stage,
.mine-feed p { margin: 0; }

.mine-kind { color: #8eb6ff; font-size: 0.78rem; font-weight: 700; }

.mine-code,
.mine-dates { color: #8ea4c4; }

.mine-stage { margin-top: 0.45rem; font-size: 0.82rem; font-weight: 700; }

.mine-card[data-tone="fix"] .mine-stage { color: #f0c14a; }
.mine-card[data-tone="rejected"] .mine-stage { color: #ff8d98; }
.mine-card[data-tone="granted"] .mine-stage,
.mine-card[data-tone="confirmed"] .mine-stage { color: #7dffe8; }
.mine-card[data-tone="review"] .mine-stage { color: #9ec5ff; }
.mine-card[data-tone="draft"] .mine-stage { color: #f3d48a; }

.mine-track {
  height: 0.35rem;
  margin: 0.7rem 0 0.4rem;
  border-radius: 999px;
  background: rgba(130, 168, 220, 0.18);
  overflow: hidden;
}

.mine-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2f86f6;
}

.mine-card[data-tone="fix"] .mine-track span { background: #f0c14a; }
.mine-card[data-tone="rejected"] .mine-track span { background: #e23b4a; }
.mine-card[data-tone="granted"] .mine-track span,
.mine-card[data-tone="confirmed"] .mine-track span { background: #2ec8be; }

.mine-dates {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.72rem;
}

.mine-dates span:nth-child(2) { text-align: center; }

.mine-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(214, 122, 20, 0.18);
  color: #ffd59a;
}

.mine-alert a {
  margin-left: auto;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: #0066d8;
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.mine-alert a:last-child { background: #d67a14; }

.mine-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.mine-counts span { display: block; color: #8ea4c4; font-size: 0.82rem; }

.mine-counts strong { font-size: 1.6rem; }

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

.mine-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.mine-table th,
.mine-table td {
  padding: 0.75rem 0.55rem;
  border-bottom: 1px solid rgba(130, 168, 220, 0.16);
  text-align: left;
  vertical-align: middle;
  color: white;
}

.mine-table th { color: #8ea4c4; font-size: 0.8rem; font-weight: 600; }

.mine-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9ec5ff;
}

.mine-pill::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: currentColor;
}

.mine-pill[data-tone="fix"] { color: #f0c14a; }
.mine-pill[data-tone="rejected"] { color: #ff8d98; }
.mine-pill[data-tone="granted"],
.mine-pill[data-tone="confirmed"] { color: #7dffe8; }
.mine-pill[data-tone="draft"] { color: #f3d48a; }

.mine-table td.mine-actions {
  width: 1%;
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}

.mine-actions > div {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.mine-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 102, 216, 0.2);
  color: #d5e6ff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.mine-actions a.is-fix { background: #d67a14; color: white; }

.mine-feed { display: grid; gap: 0.7rem; }

.mine-feed article[data-unread] { background: rgba(46, 204, 140, 0.18); }

.cabinet-item { justify-content: space-between; }

.menu-count {
  display: inline-block;
  min-width: 1.3rem;
  margin-left: 0.6rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #e23b4a;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.mine-feed h2 { font-size: 1rem; }

.mine-back {
  justify-self: start;
  color: #9ec5ff;
  font-weight: 700;
  text-decoration: none;
}

.mine-detail { display: grid; gap: 0.7rem; }

.mine-detail .mine-stage { margin: 0; }

.mine-form {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.mine-form-nav {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  position: sticky;
  top: 1rem;
}

.mine-form-nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

.mine-form-nav a:hover,
.mine-form-nav a:focus-visible { background: rgba(0, 102, 216, 0.18); }

.mine-form-nav span {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  flex: none;
}

.mine-category + .mine-category { margin-top: 1.4rem; }

.mine-category h2 { margin: 0 0 0.85rem; font-size: 1.25rem; }

.mine-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.mine-field {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-width: 0;
}

.mine-field.is-wide { grid-column: 1 / -1; }

.mine-field > span,
.mine-field > strong { color: #d5e4f7; font-size: 0.92rem; }

.mine-value,
.mine-lines,
.mine-file {
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(140, 176, 220, 0.35);
  background: rgba(8, 24, 52, 0.72);
  padding: 0.72rem 0.85rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.mine-value { min-height: 2.7rem; }

.mine-value.is-long { min-height: 7rem; }

.mine-request {
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(241, 196, 15, 0.45);
  background: rgba(241, 196, 15, 0.16);
  padding: 0.7rem 0.85rem;
  white-space: pre-wrap;
}

.mine-correction,
.mine-file-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(140, 176, 220, 0.45);
  background: rgba(8, 24, 52, 0.9);
  color: #f4f8ff;
  padding: 0.72rem 0.85rem;
  font: inherit;
}

.mine-correction { min-height: 6.5rem; resize: vertical; }

.mine-return { margin-top: 1.2rem; }

.mine-open {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mine-open h2,
.mine-open p { color: inherit; }

.mine-file {
  display: flex;
  align-items: center;
  min-height: 2.7rem;
  color: #9ec5ff;
  text-decoration: none;
}

.mine-lines,
.mine-choices {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  display: grid;
  gap: 0.35rem;
}

.mine-lines li,
.mine-choices li { border-radius: 10px; padding: 0.45rem 0.7rem; }

.mine-choices {
  border: 1px solid rgba(140, 176, 220, 0.28);
  border-radius: 12px;
  background: rgba(8, 24, 52, 0.35);
}

.mine-choices li[data-selected] {
  background: rgba(0, 102, 216, 0.28);
  box-shadow: inset 3px 0 0 #8abdff;
}

@media (max-width: 800px) {
  .mine-counts { grid-template-columns: 1fr 1fr; }
  .mine-form,
  .mine-fields { grid-template-columns: 1fr; }
  .mine-form-nav { position: static; }
}
