/* ============================================================
   global.css — Base styles, CSS variables, fonts, resets
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --color-black:        #000000;
  --color-white:        #FFFFFF;
  --color-grey:        #494949;
  --color-light-blue-bg: #F9FBFF;
  --color-accent:       #286499;
  --color-accent-light: #3a7bbf;
  --color-border: #e4e4e4;
  --color-tag: #f0f0f0;
  --color-accent-tag: #e8eef6;

  --footer-light:       #f7f7f7;
  --footer-dark:        #1a1a1a;
  
  --color-oshad-blue: #00503B;

  --nav-height:         64px;

  --font-main: 'e-Ukraine', 'Segoe UI', Arial, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Font ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'e-Ukraine';
  src: url('/assets/fonts/e-Ukraine-Regular.eot');
  src: url('/assets/fonts/e-Ukraine-Regular.eot?#iefix') format('embedded-opentype'),
       url('/assets/fonts/e-Ukraine-Regular.woff2') format('woff2'),
       url('/assets/fonts/e-Ukraine-Regular.woff')  format('woff'),
       url('/assets/fonts/e-Ukraine-Regular.ttf')   format('truetype');
  font-weight: normal;
  font-style:  normal;
  font-display: swap;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-black);
  background: var(--color-light-blue-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

.planned {
    display: none !important;
}

/* ── Utility ───────────────────────────────────────────────── */
.pc-only  { display: block; }
.mobile-only { display: none; }

@media (max-width: 991px) {
  .pc-only    { display: none !important; }
  .mobile-only { display: block; }
}

/* ── Scroll-reveal base (JS adds .revealed) ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s var(--ease-out-expo),
              transform 0.65s var(--ease-out-expo);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Copy icon button ──────────────────────────────────────── */
.copy-icon-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0 3px 3px;
  cursor: pointer;
  color: rgba(255,255,255,0.3);
  display: inline-flex;
  align-items: start;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  font-family: var(--font-main);
  line-height: 1;
}
.copy-icon-btn:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
}
.copy-icon-btn.copied {
  color: #4caf7d;
}
