/* ClickScout — marketing one-pager v2 */

:root {
  --bg: #f4f2ed;
  --bg-elevated: #fffcf8;
  --ink: #12151c;
  --ink-soft: #3d4556;
  --muted: #6a7384;
  --line: rgba(18, 21, 28, 0.1);
  --accent: #0e8a68;
  --accent-deep: #0a6550;
  --accent-soft: rgba(14, 138, 104, 0.12);
  --warm: #c97820;
  --navy: #121c2e;
  --radius: 16px;
  --nav-h: 68px;
  --max: 1160px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 40px rgba(18, 21, 28, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: transparent;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fixed full-viewport world map background */
.site-map {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
  background:
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(14, 138, 104, 0.08), transparent 58%),
    radial-gradient(ellipse 40% 40% at 8% 70%, rgba(201, 120, 32, 0.04), transparent 55%),
    linear-gradient(165deg, #ece9e2 0%, #f4f2ed 45%, #e8efe9 100%);
}

.site-map-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Fade only the map artwork — activity overlays sit outside this layer */
  opacity: 0.13;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 20%, transparent 78%);
}

.site-map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  /* Cover fills the plane and crops edges — reads as a real map, not a squash */
  object-fit: cover;
  object-position: center 42%;
}

/* Portrait / mobile: cover the viewport, then scale into Europe/Africa/Asia */
@media (max-width: 879px) {
  .site-map-layer {
    opacity: 0.2;
    mask-image: radial-gradient(ellipse 145% 82% at 50% 34%, #000 35%, transparent 82%);
    -webkit-mask-image: radial-gradient(ellipse 145% 82% at 50% 34%, #000 35%, transparent 82%);
  }

  .site-map-img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% 40%;
    transform: scale(2.7);
    transform-origin: 48% 36%;
  }
}

/* Ultrawide: stretch full-bleed so sides don’t look empty/tiled */
@media (min-aspect-ratio: 21/9) {
  .site-map-img {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: fill;
    object-position: center center;
  }
}

/* Activity overlays — full opacity so arcs/clicks stay visible over the faint map */
.site-map-arcs,
.site-map-dots,
.hero-map-arcs,
.hero-map-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}

.site-map-arcs,
.hero-map-arcs {
  overflow: hidden;
  opacity: 0.75;
}

.site-map-dots,
.hero-map-dots {
  pointer-events: none;
  opacity: 0.85;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

svg {
  display: block;
}

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

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

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  max-width: 18ch;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 2.25rem;
}

/* ——— Progress ——— */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 100;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), #35c798);
}

/* ——— Nav ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 36px rgba(18, 21, 28, 0.08);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  line-height: 1;
  color: var(--ink);
}

.logo .tld {
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-left: 0.02em;
}

.nav > nav {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1a2030;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(18, 21, 28, 0.04);
}

.nav-links a.is-active {
  color: var(--ink);
  background: rgba(14, 138, 104, 0.1);
  box-shadow: inset 0 0 0 1px rgba(14, 138, 104, 0.18);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.18rem;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
}

.nav-links a.is-active .nav-icon {
  opacity: 1;
  color: var(--accent-deep);
}

.nav-icon {
  width: 15px;
  height: 15px;
  opacity: 0.85;
  color: #243044;
  flex-shrink: 0;
}

.nav-actions {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  margin-left: auto;
}

.nav-combo {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  border: 1px solid rgba(18, 21, 28, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
  box-shadow: 0 10px 24px rgba(18, 21, 28, 0.07);
  overflow: hidden;
}

.nav-combo-login,
.nav-combo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.nav-combo-login {
  color: #1a2030;
  background: transparent;
  position: relative;
}

.nav-combo-login::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  bottom: 8px;
  width: 1px;
  background: rgba(18, 21, 28, 0.12);
}

.nav-combo-login:hover {
  background: rgba(18, 21, 28, 0.04);
  color: var(--ink);
}

.nav-combo-cta {
  color: #fff;
  background: linear-gradient(135deg, #12a57a 0%, #0e8a68 55%, #0a6b51 100%);
  padding-inline: 1.15rem 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-combo-cta:hover {
  filter: brightness(1.05);
  color: #fff;
}

.nav-combo-cta .icon {
  width: 14px;
  height: 14px;
}

.nav-toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.site-header.is-scrolled .nav-toggle {
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: none;
  box-shadow: 0 16px 40px rgba(18, 21, 28, 0.1);
  padding: 1rem 1.25rem 1.35rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 49;
}

.mobile-panel.is-open {
  display: flex;
}

.mobile-panel a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 0.7rem 0.65rem;
  color: #1a2030;
  border-radius: 999px;
}

.mobile-panel a:hover {
  color: var(--ink);
  background: rgba(18, 21, 28, 0.04);
}

.mobile-panel a.is-active {
  color: var(--ink);
  background: rgba(14, 138, 104, 0.1);
  box-shadow: inset 0 0 0 1px rgba(14, 138, 104, 0.18);
}

.mobile-panel a.is-active .nav-icon {
  opacity: 1;
  color: var(--accent-deep);
}

.mobile-panel .mobile-combo {
  display: flex;
  width: 100%;
  margin-top: 0.65rem;
}

.mobile-panel .mobile-combo .nav-combo-login,
.mobile-panel .mobile-combo .nav-combo-cta {
  flex: 1;
}

@media (max-width: 879px) {
  :root {
    --nav-h: 60px;
  }

  .nav {
    gap: 0.65rem;
  }

  .nav > nav,
  .nav-actions {
    display: none !important;
  }

  .logo {
    font-size: 1.2rem;
    letter-spacing: -0.04em;
    align-self: center;
  }

  .logo .tld {
    font-size: 0.58em;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .hero {
    padding: calc(var(--nav-h) + 1.25rem) 0 1.75rem;
  }

  .brand-mark {
    font-size: clamp(2rem, 10vw, 2.6rem);
    white-space: normal;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
    max-width: none;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 1rem;
  }

  .hero-panel {
    min-height: 0;
    padding: 1.2rem;
  }

  .section-title {
    max-width: none;
  }

  section {
    padding: 3.5rem 0;
  }

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

  .modal {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .modal-dialog {
    max-height: min(88vh, 900px);
    border-radius: 16px 16px 12px 12px;
    padding: 1.15rem 1.15rem 1.4rem;
    width: 100%;
  }
}

@media (min-width: 880px) {
  .nav > nav,
  .nav-actions {
    display: flex;
  }

  .nav-toggle,
  .mobile-panel {
    display: none !important;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #000;
}

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

.btn-accent:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn-ghost.on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost.on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: auto;
  display: block;
  padding: calc(var(--nav-h) + 1.75rem) 0 2rem;
  overflow: hidden;
  background: transparent;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(14, 138, 104, 0.08), transparent 58%),
    radial-gradient(ellipse 40% 40% at 8% 70%, rgba(201, 120, 32, 0.05), transparent 55%);
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 21, 28, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 21, 28, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 60% 35%, #000 15%, transparent 72%);
  opacity: 0.45;
}

.hero-map-arcs path {
  fill: none;
  stroke: #0e8a68;
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 6 8;
  animation: arcFly 2.6s var(--ease) forwards;
}

.hero-map-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #0e8a68;
  box-shadow: 0 0 0 0 rgba(14, 138, 104, 0.35);
  animation: clickPulse 3.2s var(--ease) infinite;
}

.hero-map-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(14, 138, 104, 0.35);
  animation: clickRing 3.2s var(--ease) infinite;
}

.hero-map-dot.is-hot {
  background: #c97820;
  animation-duration: 2.4s;
}

.hero-map-dot.is-hot::after {
  border-color: rgba(201, 120, 32, 0.4);
  animation-duration: 2.4s;
}

.hero-map-flash {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: rgba(14, 138, 104, 0.85);
  animation: clickFlash 0.85s var(--ease) forwards;
  pointer-events: none;
}

@keyframes clickPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.95;
  }
}

@keyframes clickRing {
  0% {
    transform: scale(0.7);
    opacity: 0.55;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

@keyframes clickFlash {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

@keyframes arcFly {
  0% {
    opacity: 0;
    stroke-dashoffset: 120;
  }
  18% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero {
    padding: calc(var(--nav-h) + 2.25rem) 0 2.5rem;
    min-height: 0;
    display: block;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.75rem;
  }
}

.hero-copy-block {
  max-width: 36rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  white-space: nowrap;
  color: var(--ink);
}

.brand-mark .tld {
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  vertical-align: 0.55em;
  margin-left: 0.06em;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 0.95rem;
  color: var(--ink);
  max-width: 11ch;
}

.hero-copy {
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Soft halo so map lines don’t cut through light-section type */
.hero-headline,
.hero-copy,
.hero .eyebrow,
.hero-meta strong,
.hero-meta span,
.section-title,
.section-lead,
main > section:not(.section-dark) .section-head .eyebrow,
.stats-grid .stat-value,
.stats-grid .stat-label,
.step h3,
.step p,
.about-copy p,
.feature-item-copy h3,
.feature-item-copy p {
  text-shadow:
    0 0 10px rgba(244, 242, 237, 0.95),
    0 0 22px rgba(244, 242, 237, 0.75),
    0 1px 0 rgba(255, 255, 255, 0.45);
}

.section-dark .section-title,
.section-dark .section-lead,
.section-dark .eyebrow,
.solution,
.solution .eyebrow,
.solution h3,
.solution p,
.solution li,
.solution-login,
.hero-panel,
.hero-panel *,
.company-panel,
.company-panel * {
  text-shadow: none;
}

.hero-meta {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.hero-meta div {
  padding-top: 0;
  border-top: none;
}

.meta-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: none;
  color: var(--accent-deep);
  margin-bottom: 0.55rem;
}

.meta-icon .icon {
  width: 20px;
  height: 20px;
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.hero-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Hero visual panel */
.hero-panel {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(155deg, #121c2e 0%, #1a3140 55%, #0e8a68 130%);
  color: #fff;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  min-height: 340px;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(53, 199, 152, 0.28);
  filter: blur(30px);
  right: -40px;
  bottom: -50px;
  pointer-events: none;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.panel-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35c798;
  box-shadow: 0 0 0 0 rgba(53, 199, 152, 0.7);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(53, 199, 152, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(53, 199, 152, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(53, 199, 152, 0);
  }
}

.panel-metric {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  position: relative;
  z-index: 1;
}

.panel-metric-label {
  margin: 0.4rem 0 1.35rem;
  opacity: 0.72;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.panel-rows {
  display: grid;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.panel-row {
  display: grid;
  gap: 0.35rem;
}

.panel-row-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.85;
}

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

.panel-bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #35c798, #f0b35a);
  transition: width 1.15s var(--ease);
}

.hero-panel.is-inview .panel-bar:nth-child(1) > span,
.hero-panel.is-inview .panel-row:nth-child(1) .panel-bar > span {
  width: 88%;
}

.hero-panel.is-inview .panel-row:nth-child(2) .panel-bar > span {
  width: 74%;
}

.hero-panel.is-inview .panel-row:nth-child(3) .panel-bar > span {
  width: 91%;
}

.panel-footer {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.panel-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.panel-footer span {
  font-size: 0.72rem;
  opacity: 0.65;
}

/* ——— Sections ——— */
section {
  padding: 4.5rem 0;
  position: relative;
}

.section-dark {
  /* Solid fill — backdrop-filter over the fixed map was a major lag source */
  background: #1a2438;
  color: #f4f7fb;
}

.section-dark .section-lead,
.section-dark .muted {
  color: rgba(244, 247, 251, 0.7);
}

.section-dark .eyebrow {
  color: #7dd3c0;
}

.section-dark .eyebrow::before {
  background: #7dd3c0;
}

.section-tint {
  background: linear-gradient(180deg, rgba(14, 138, 104, 0.06), transparent 40%);
}

/* ——— Stats ——— */
.stats {
  padding: 0 0 1rem;
  margin-top: -0.5rem;
  position: relative;
  z-index: 2;
}

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

.stat {
  background: var(--bg-elevated);
  padding: 1.25rem 1.15rem;
}

.stat-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: none;
  color: var(--accent-deep);
  margin-bottom: 0.65rem;
}

.stat-icon .icon {
  width: 20px;
  height: 20px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.1;
}

.stat-label {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ——— Solutions ——— */
.solutions-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 860px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.solution {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.solution.primary {
  background: linear-gradient(145deg, #12352c 0%, #0e8a68 58%, #2bb892 120%);
  color: #fff;
}

.solution.secondary {
  background: linear-gradient(160deg, #182438, #243552);
  color: #fff;
}

.solution h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 0.6rem;
}

.solution p {
  margin: 0;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.solution ul {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.solution li {
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.solution .btn {
  align-self: flex-start;
  margin-top: 1.35rem;
}

.solution-login {
  align-self: flex-start;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.solution-login:hover {
  color: #fff;
}

.solution-glow {
  position: absolute;
  inset: auto -18% -28% auto;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(18px);
  z-index: -1;
}

/* ——— How it works ——— */
.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  padding: 0;
  border-top: none;
  position: relative;
}

.step-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: none;
  border: none;
  color: var(--accent-deep);
  margin-bottom: 0.85rem;
}

.step-icon .icon {
  width: 22px;
  height: 22px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ——— Verticals marquee ——— */
.marquee-section {
  padding-top: 0;
}

.marquee-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ——— Features ——— */
.features {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.75rem;
    align-items: center;
  }
}

.feature-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-left: 3px solid transparent;
  background: rgba(255, 252, 248, 0.5);
  border-radius: 0 12px 12px 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
  cursor: default;
}

.feature-item.is-active,
.feature-item:hover {
  border-left-color: var(--accent);
  background: var(--bg-elevated);
  transform: translateX(3px);
}

.feature-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: none;
  color: var(--accent-deep);
  padding-top: 0.15rem;
}

.feature-icon .icon {
  width: 20px;
  height: 20px;
}

.feature-item-copy h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feature-item-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.feature-stage {
  position: relative;
  min-height: 320px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 72% 18%, rgba(14, 138, 104, 0.22), transparent 42%),
    linear-gradient(160deg, #121c2e, #1d3348 58%, #0e8a68);
  color: #fff;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stage-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
}

.stage-metric {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stage-bars {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.7rem;
}

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

.bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #5eead4, #fbbf24);
  transition: width 1.15s var(--ease);
}

.feature-stage.is-inview .bar:nth-child(1) > span {
  width: 86%;
}

.feature-stage.is-inview .bar:nth-child(2) > span {
  width: 72%;
}

.feature-stage.is-inview .bar:nth-child(3) > span {
  width: 94%;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

/* ——— Industry logo wall ——— */
.logo-wall-section {
  overflow: hidden;
}

.logo-wall-section .section-head {
  margin-bottom: 2rem;
}

.logo-wall {
  display: grid;
  gap: 1.6rem;
  /* Match .container so logos align with the Partners copy above */
  width: min(100% - 2rem, var(--max));
  margin: 0.75rem auto 0;
}

.logo-wall-row {
  overflow: hidden;
  /* Filter on the static row (not the moving track) avoids re-filtering every frame */
  filter: brightness(0) invert(1);
  opacity: 0.4;
  /* Soft edge fade without eating most of the content width */
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  width: max-content;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: logo-marquee 70s linear infinite;
}

.logo-track.is-animating {
  will-change: transform;
}

.logo-wall-row[data-dir="right"] .logo-track {
  animation-name: logo-marquee-reverse;
  animation-duration: 82s;
}

@keyframes logo-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes logo-marquee-reverse {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.logo-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  min-width: 0;
  height: auto;
  box-shadow: none;
  border-radius: 0;
}

.logo-chip img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@media (max-width: 879px) {
  .logo-wall {
    width: min(100% - 1.75rem, var(--max));
    gap: 1.25rem;
  }

  .logo-track {
    gap: 2.5rem;
    animation-duration: 58s;
  }

  .logo-wall-row[data-dir="right"] .logo-track {
    animation-duration: 68s;
  }

  .logo-chip img {
    height: 32px;
    max-width: 130px;
  }
}

/* ——— About / company ——— */
.about-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-copy p + p {
  margin-top: 0.85rem;
}

.company-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.company-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.company-panel dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.company-panel dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.company-panel dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 2.25rem;
  }
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.form-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* ——— Footer ——— */
.site-footer {
  padding: 3rem 0 1.75rem;
  border-top: 1px solid var(--line);
  background: rgba(234, 230, 222, 0.82);
  backdrop-filter: blur(8px);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-copy {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  max-width: 34ch;
  font-size: 0.95rem;
}

.footer-col h4 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-col a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}

.back-to-top {
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: var(--accent-deep);
}

/* ——— Reveal animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
  transition-delay: var(--delay, 0ms);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
  transition-delay: var(--delay, 0ms);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transition-delay: var(--delay, 0ms);
}

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

/* ——— Legal pages ——— */
.legal-page {
  padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
}

.legal-page article {
  max-width: 720px;
}

.legal-page h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin-bottom: 0.65rem;
}

.legal-page .meta {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.65rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page ul {
  padding-left: 1.15rem;
}

/* ——— Icons ——— */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  color: currentColor;
}

.icon use {
  fill: none;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.icon-box {
  display: block;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
}

.icon-box .icon {
  width: 22px;
  height: 22px;
}

.point-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: none;
  border: none;
  color: var(--accent-deep);
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.point-icon .icon {
  width: 18px;
  height: 18px;
}

.contact-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
}

.contact-point span,
.contact-point a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.footer-brand .tld {
  font-size: 0.62em;
  color: var(--accent);
  margin-left: 0.02em;
}

.cyprus-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  color: var(--accent);
  flex-shrink: 0;
}

.cyprus-map {
  width: 120px;
  height: auto;
  display: block;
  color: var(--accent);
}

.cyprus-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .footer-brand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cyprus-badge {
    align-items: flex-start;
  }

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

  .feature-item {
    grid-template-columns: 28px 1fr;
    gap: 0.7rem;
  }
}

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

/* ——— Legal modals ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal.is-open {
  display: flex;
}

.modal[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 21, 28, 0.45);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(82vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(18, 21, 28, 0.28);
  padding: 1.5rem 1.5rem 1.75rem;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  position: sticky;
  top: 0;
  background: #fff;
  padding-bottom: 0.75rem;
  z-index: 2;
}

.modal-head h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink);
  flex-shrink: 0;
}

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

.modal-body .meta {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.modal-body h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.5rem;
}

.modal-body p,
.modal-body li {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.modal-body ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 0;
}

body.modal-open {
  overflow: hidden;
}

/* ——— Auth / sign-in ——— */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(14, 138, 104, 0.12), transparent 58%),
    linear-gradient(165deg, #ece9e2 0%, #f4f2ed 45%, #e8efe9 100%);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
}

@media (min-width: 920px) {
  .auth-shell {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.auth-aside {
  display: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 15%, rgba(14, 138, 104, 0.35), transparent 55%),
    linear-gradient(160deg, #121c2e 0%, #182438 48%, #0f1726 100%);
  color: #f4f7fb;
  padding: 2.5rem;
}

@media (min-width: 920px) {
  .auth-aside {
    display: flex;
    align-items: center;
  }
}

.auth-aside-inner {
  max-width: 420px;
}

.auth-logo {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
}

.auth-aside-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ddeb8;
}

.auth-aside-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.auth-aside-copy {
  margin: 1rem 0 1.5rem;
  color: rgba(244, 247, 251, 0.72);
  font-size: 1.02rem;
}

.auth-aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.auth-aside-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(244, 247, 251, 0.88);
}

.auth-aside-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
  background:
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(14, 138, 104, 0.1), transparent 50%),
    var(--bg);
}

.auth-card {
  width: min(100%, 420px);
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 520px) {
  .auth-card {
    padding: 2rem 2rem 1.75rem;
  }
}

.auth-back {
  display: inline-flex;
  margin-bottom: 1.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.auth-back:hover {
  color: var(--ink);
}

.auth-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.auth-lead {
  margin: 0.45rem 0 1.35rem;
  color: var(--ink-soft);
}

.auth-form .field {
  margin-bottom: 0.95rem;
}

.auth-banner {
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(14, 138, 104, 0.1);
  border: 1px solid rgba(14, 138, 104, 0.22);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-banner[hidden] {
  display: none;
}

.auth-banner a {
  color: var(--accent-deep);
  font-weight: 700;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.35rem 0 1.15rem;
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}

.auth-text-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-deep);
  cursor: pointer;
}

.auth-text-btn:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
}

.auth-footnote {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-footnote a {
  font-weight: 700;
  color: var(--accent-deep);
}

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

  .reveal,
  .reveal-left,
  .reveal-scale,
  .hero-bg::before,
  .marquee,
  .logo-track,
  .hero-map-dot,
  .hero-map-dot::after,
  .hero-map-arcs path,
  .panel-live i {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
