@font-face {
  font-family: "Noto Sans Armenian";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/noto-sans-armenian-armenian.woff2") format("woff2");
  unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}

@font-face {
  font-family: "Noto Sans Armenian";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/noto-sans-armenian-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Serif Armenian";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/noto-serif-armenian-armenian.woff2") format("woff2");
  unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}

@font-face {
  font-family: "Noto Serif Armenian";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/noto-serif-armenian-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}

:root {
  --sky-top: #f7fcff;
  --sky-mid: #eaf6ff;
  --sky-deep: #d3e9fb;
  --white: #ffffff;
  --primary: #3f95d8;
  --primary-deep: #2b7cbb;
  --ink: #1d4a6b;
  --muted: #6b93b0;
  --wing-light: #ffffff;
  --wing-blue: #a8d8f8;
  --wing-peri: #bcd4f5;

  --shadow-soft: 0 14px 34px rgba(45, 116, 170, 0.13);
  --shadow-lift: 0 24px 60px rgba(45, 116, 170, 0.18);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;

  --font-body: "Noto Sans Armenian", "Segoe UI", system-ui, sans-serif;
  --font-display: "Noto Serif Armenian", Georgia, serif;

  --shell: min(38rem, 100% - 2rem);
}

* {
  box-sizing: border-box;
}

/* The document itself never scrolls. Scrolling lives on .page, which has a
   fixed height, so iOS Safari cannot resize the scroller mid-gesture while
   collapsing its address bar. That resize is what made snapping jump. */
html,
body {
  height: 100%;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(63, 149, 216, 0.42);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(63, 149, 216, 0.65);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-deep) 100%)
      fixed;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Shared by the intro envelope and the closing heart. */
@keyframes glow-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes ring-out {
  0% {
    transform: scale(0.55);
    opacity: 0;
  }
  25% {
    opacity: 0.75;
  }
  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
