/* Cullo public site — teal / slate, mobile-first */

:root {
  --bg0: #0b1220;
  --bg1: #112033;
  --bg2: #16324a;
  --teal: #2dd4bf;
  --teal-deep: #0f766e;
  --teal-soft: rgba(45, 212, 191, 0.14);
  --slate: #94a3b8;
  --text: #e8eef6;
  --text-muted: #9fb0c3;
  --line: rgba(148, 163, 184, 0.22);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 14px;
  --shell: min(68rem, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(56, 189, 248, 0.12), transparent 50%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 45%, #0d1a2b 100%);
  line-height: 1.55;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #5eead4;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--teal);
}

.wordmark--sm {
  font-size: 1.15rem;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.95rem;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--teal);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 10vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
  animation: rise 0.7s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 4.2vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  animation: rise 0.75s 0.06s ease both;
}

.hero-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 34rem;
  animation: rise 0.8s 0.12s ease both;
}

.trust {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  color: var(--text);
  font-weight: 600;
  animation: rise 0.85s 0.18s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.22s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #042f2e;
}

.btn-primary:hover {
  color: #022c22;
  filter: brightness(1.05);
}

.btn-muted {
  background: transparent;
  border-color: var(--line);
  color: var(--text-muted);
  cursor: default;
}

.cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--slate);
  animation: rise 0.95s 0.26s ease both;
}

.hero-glow {
  position: absolute;
  inset: auto -20% -40% 35%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.22), transparent 70%);
  pointer-events: none;
  animation: pulse 7s ease-in-out infinite;
}

.features {
  padding: 0 0 3.5rem;
}

.feature-list {
  display: grid;
  gap: 1.5rem 2rem;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-list article {
  padding: 0;
  border: 0;
  background: transparent;
}

.feature-list h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal {
  padding: 2.25rem 0 3.5rem;
  max-width: 42rem;
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
}

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

.legal h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.12rem;
  font-family: var(--font-display);
}

.legal p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.support-placeholder {
  color: var(--slate) !important;
  font-style: italic;
}

.support-mail {
  font-weight: 600;
  font-size: 1.05rem;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
  background: rgba(8, 14, 24, 0.55);
}

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

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

.footer-brand p {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-switch a.is-active,
.lang-switch a[aria-current="true"] {
  border-color: var(--teal-deep);
  background: var(--teal-soft);
  color: var(--teal);
}

.footer-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.85rem;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
