/* ==========================================================================
   Veralis / וראליס — Stealth Teaser Landing (coming soon)
   Brand Book Draft v0.3.1 | Palette 2: Ink Navy & Electric | Seal B
   Deliberately does not describe product modules or architecture.
   ========================================================================== */

:root {
  --vr-navy-950: #071426;
  --vr-navy-900: #0B1F3A;
  --vr-navy-800: #12294A;
  --vr-navy-700: #16345C;
  --vr-navy-600: #1E3A8A;

  --vr-brand-dot: #3B8BFF;

  --vr-electric-600: #2563EB;
  --vr-electric-400: #60A5FA;
  --vr-electric-300: #93C5FD;
  --vr-electric-100: #DBEAFE;

  --vr-bg-canvas: #F6F8FB;
  --vr-bg-subtle: #EEF2F7;
  --vr-bg-surface: #FFFFFF;
  --vr-bg-hover: #E9EFF7;

  --vr-border-subtle: #E2E8F0;
  --vr-border-default: #CBD5E1;

  --vr-text-primary: #0B1F3A;
  --vr-text-secondary: #334155;
  --vr-text-muted: #475569;

  --vr-btn-primary-bg: #0B1F3A;
  --vr-btn-primary-bg-hover: #16345C;
  --vr-btn-primary-bg-active: #071426;
  --vr-btn-primary-fg: #FFFFFF;

  --vr-link: #2563EB;
  --vr-link-hover: #1E3A8A;

  --vr-focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.35);

  --vr-dark-border: #1E3A5F;

  --vr-font-sans: 'Heebo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --vr-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --vr-radius-md: 8px;
  --vr-radius-lg: 12px;
  --vr-radius-xl: 16px;
  --vr-radius-pill: 9999px;

  --vr-shadow-elevated: 0 24px 48px -12px rgba(11, 31, 58, 0.22), 0 8px 20px -6px rgba(11, 31, 58, 0.12);

  --container-max: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--vr-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vr-text-primary);
  background-color: var(--vr-bg-canvas);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.065), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(11, 31, 58, 0.045) 1px, transparent 0);
  background-size: 100% 100%, 28px 28px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

html[lang="he"] [data-lang-only="en"] {
  display: none !important;
}

html[lang="en"] [data-lang-only="he"] {
  display: none !important;
}

.vr-num,
.vr-mono {
  font-variant-numeric: tabular-nums lining-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.vr-mono {
  font-family: var(--vr-font-mono);
}

.nowrap {
  white-space: nowrap;
}

:is(a, button, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--vr-focus-ring);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 251, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vr-border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding-block: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--vr-text-primary);
  padding: 6px 8px;
  margin-inline-start: -8px;
  border-radius: var(--vr-radius-md);
}

.brand-seal {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: block;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--vr-navy-900);
  letter-spacing: -0.02em;
}

.brand-sub-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--vr-navy-600);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--vr-bg-surface);
  border: 1px solid var(--vr-border-subtle);
  border-radius: var(--vr-radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vr-text-secondary);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.03);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vr-brand-dot);
  box-shadow: 0 0 0 3px rgba(59, 139, 255, 0.18);
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--vr-bg-subtle);
  border: 1px solid var(--vr-border-default);
  border-radius: var(--vr-radius-pill);
  gap: 2px;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--vr-text-muted);
  font-family: var(--vr-font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--vr-radius-pill);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--vr-text-primary);
}

.lang-btn[aria-pressed="true"] {
  background: var(--vr-navy-900);
  color: var(--vr-btn-primary-fg);
  box-shadow: 0 1px 3px rgba(11, 31, 58, 0.2);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--vr-radius-md);
  border: 1px solid var(--vr-border-default);
  background: var(--vr-bg-surface);
  color: var(--vr-text-primary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.header-cta:hover {
  background: var(--vr-bg-hover);
  border-color: var(--vr-navy-700);
}

/* ==========================================================================
   Hero
   ========================================================================== */
main {
  flex: 1;
}

.hero-section {
  padding-block: 72px 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--vr-navy-900);
  letter-spacing: -0.015em;
}

html[lang="en"] .hero-title {
  letter-spacing: -0.025em;
}

.hero-slogan-sub {
  margin: 0 0 22px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--vr-navy-600);
}

.hero-hint {
  margin: 0 0 36px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--vr-text-secondary);
  max-width: 36em;
}

.cta-block {
  max-width: 36em;
}

.cta-kicker {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vr-navy-900);
  letter-spacing: 0.01em;
}

.cta-note {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--vr-text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--vr-btn-primary-bg);
  color: var(--vr-btn-primary-fg);
  border: 1px solid var(--vr-btn-primary-bg);
  border-radius: var(--vr-radius-md);
  font-family: var(--vr-font-sans);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 140ms ease, box-shadow 160ms ease;
}

.btn-primary:hover {
  background: var(--vr-btn-primary-bg-hover);
  border-color: var(--vr-btn-primary-bg-hover);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.16);
}

.btn-primary:active {
  background: var(--vr-btn-primary-bg-active);
  transform: translateY(1px);
}

.btn-primary .vr-mono {
  font-size: 13px;
  font-weight: 500;
  color: var(--vr-electric-100);
}

/* ==========================================================================
   Abstract Seal Medallion
   ========================================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.seal-stage {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(59, 139, 255, 0.20), transparent 46%),
    radial-gradient(circle at 50% 58%, #12294A 0%, #0B1F3A 58%, #071426 100%);
  border: 1px solid var(--vr-dark-border);
  box-shadow: var(--vr-shadow-elevated), inset 0 0 0 1px rgba(147, 197, 253, 0.06);
  overflow: hidden;
}

.seal-glow {
  position: absolute;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 139, 255, 0.35), transparent 70%);
  animation: vrHeartbeatGlow 2.8s ease-in-out infinite;
}

.seal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(147, 197, 253, 0.16);
  pointer-events: none;
}

.seal-ring-outer {
  inset: 10%;
  border-color: rgba(147, 197, 253, 0.12);
}

.seal-ring-mid {
  inset: 20%;
  border-color: rgba(59, 139, 255, 0.20);
}

.seal-ring-inner {
  inset: 31%;
  border-color: rgba(147, 197, 253, 0.22);
}

/* Expanding ripples — start at the inner ring and fade toward the rim */
.seal-ripple {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  border: 1.5px solid rgba(147, 197, 253, 0.0);
  pointer-events: none;
  animation: vrRipple 2.8s ease-out infinite;
}

.seal-ripple-b {
  animation-delay: 1.15s;
}

.seal-hero {
  position: relative;
  width: 136px;
  height: 136px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.28));
  z-index: 1;
  animation: vrHeartbeat 2.8s ease-in-out infinite;
  transform-origin: center center;
}

/* Soft lub-dub, then a rest — 2.8s cycle */
@keyframes vrHeartbeat {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.045); }
  18% { transform: scale(1); }
  28% { transform: scale(1.022); }
  38%, 100% { transform: scale(1); }
}

@keyframes vrHeartbeatGlow {
  0%, 100% { opacity: 0.62; transform: scale(1); }
  10% { opacity: 1; transform: scale(1.18); }
  18% { opacity: 0.7; transform: scale(1.02); }
  28% { opacity: 0.92; transform: scale(1.10); }
  38%, 100% { opacity: 0.62; transform: scale(1); }
}

@keyframes vrRipple {
  0% {
    transform: scale(1);
    opacity: 0.85;
    border-color: rgba(147, 197, 253, 0.70);
  }
  70% {
    opacity: 0.18;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
    border-color: rgba(147, 197, 253, 0);
  }
}

/* ==========================================================================
   Abstract Hints Row
   ========================================================================== */
.hints-section {
  padding-block: 12px 56px;
}

.hints-row {
  list-style: none;
  margin: 0;
  padding: 28px 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--vr-bg-surface);
  border: 1px solid var(--vr-border-subtle);
  border-radius: var(--vr-radius-xl);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.05), 0 4px 12px rgba(11, 31, 58, 0.04);
}

.hint-item {
  margin: 0;
  padding: 8px 20px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--vr-navy-900);
  line-height: 1.35;
}

.hint-item + .hint-item {
  border-inline-start: 1px solid var(--vr-border-subtle);
}

.hint-item-calm {
  color: var(--vr-navy-600);
}

/* ==========================================================================
   Credibility Line
   ========================================================================== */
.credibility-section {
  padding-bottom: 56px;
}

.credibility-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin-inline: auto;
}

.credibility-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 280px);
}

.credibility-rule {
  flex: 1;
  height: 1px;
  background: var(--vr-border-default);
  border: 0;
}

.credibility-seal {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.credibility-text {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--vr-text-secondary);
  letter-spacing: 0.01em;
  max-width: 36em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--vr-border-subtle);
  background: var(--vr-bg-surface);
  padding-block: 22px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--vr-text-muted);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--vr-text-primary);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--vr-link);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  color: var(--vr-link-hover);
  text-decoration: underline;
}

.footer-sep {
  color: var(--vr-border-default);
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes vrFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: vrFadeUp 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-delay-1 {
  animation-delay: 80ms;
}

.reveal-delay-2 {
  animation-delay: 140ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .seal-glow,
  .seal-ripple,
  .seal-ripple-a,
  .seal-ripple-b,
  .seal-hero {
    animation: none;
  }
  .btn-primary,
  .lang-btn,
  .header-cta {
    transition: none;
  }
  .btn-primary:active {
    transform: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 920px) {
  .hero-section {
    padding-block: 44px 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: 1;
  }
  .hero-content {
    order: 0;
  }
  .seal-stage {
    width: min(100%, 300px);
  }
  .seal-hero {
    width: 108px;
    height: 108px;
  }
  .hints-section {
    padding-block: 8px 40px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }
  .status-pill,
  .header-cta {
    display: none;
  }
  .brand-name {
    font-size: 19px;
  }
  .hero-section {
    padding-block: 32px 16px;
  }
  .hero-hint {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .btn-primary {
    width: 100%;
  }
  .seal-stage {
    width: min(100%, 240px);
  }
  .seal-hero {
    width: 92px;
    height: 92px;
  }
  .hints-row {
    padding: 8px 16px;
    grid-template-columns: 1fr;
  }
  .hint-item {
    padding: 16px 8px;
    font-size: 16px;
  }
  .hint-item + .hint-item {
    border-inline-start: 0;
    border-top: 1px solid var(--vr-border-subtle);
  }
  .hints-section {
    padding-bottom: 32px;
  }
  .credibility-section {
    padding-bottom: 36px;
  }
  .credibility-text {
    font-size: 14.5px;
    padding-inline: 8px;
  }
  .credibility-mark {
    width: min(100%, 200px);
    gap: 12px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-sep {
    display: none;
  }
  .footer-right {
    gap: 6px 14px;
  }
}
