/* ==========================================================================
   Lezugo — Design tokens & base
   ========================================================================== */

/* Arian AMU — the same typeface used inside the Lezugo app, self-hosted so
   Armenian glyphs render correctly. Arial is the system fallback for body
   copy (also renders Armenian cleanly, and is available everywhere). */

@font-face {
  font-family: 'Arian AMU';
  src: url('../fonts/arian-amu-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arian AMU';
  src: url('../fonts/arian-amu-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arian AMU';
  src: url('../fonts/arian-amu-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Arian AMU';
  src: url('../fonts/arian-amu-bold-italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Lezugo brand palette */
  --dark: #293749;
  --dark-2: #425876;
  --grey-1: #DBDBE4;
  --grey-2: #F8F8F8;
  --blue: #0033A0;
  --blue-light: #CCD6EC;
  --orange-light: #FFE6CC;
  --orange: #FE8302;
  --yellow: #FFD93B;
  --green-1: #6EAD1F;
  --green-2: #9CCC3D;
  --white: #FFFFFF;

  --font-display: 'Arian AMU', Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  --container: 1160px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-card: 0 16px 40px -20px rgba(41, 55, 73, 0.28);
  --shadow-soft: 0 8px 24px -12px rgba(41, 55, 73, 0.22);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1em; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--dark-2);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1em;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
  border-radius: 2px;
}

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

section { position: relative; }

/* Focus states — always visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.letter-tile:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--yellow); color: var(--dark); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--orange);
  color: var(--dark);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(254, 131, 2, 0.55); }

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 51, 160, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--grey-1);
}
.btn-ghost:hover { border-color: var(--dark-2); }

/* ==========================================================================
   Floating pill navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  margin-bottom: -84px; /* pull hero up beneath */
}

.nav-pill {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--grey-1);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  box-shadow: var(--shadow-soft);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  flex-shrink: 0;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--dark-2);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--grey-2); color: var(--dark); }
.nav-links a.is-active { color: var(--blue); background: var(--blue-light); }

.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 0.75em 1.3em; font-size: 0.92rem; }
.nav-cta .btn span.short-label { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 140px 0 120px;
  background: radial-gradient(ellipse 90% 60% at 18% 0%, var(--orange-light) 0%, transparent 55%),
              radial-gradient(ellipse 80% 60% at 100% 10%, var(--blue-light) 0%, transparent 55%),
              var(--grey-2);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .lede { max-width: 46ch; }

/* Logo badge floating near the phone mockups, not in the text column */
.hero-logo-float {
  position: absolute;
  z-index: 3;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  left: 8%;
  top: 3%;
}

/* Floating Armenian letters — together they spell "Լեզուգո" (Lezugo),
   the app's own name. Kept faint and slow so it reads as texture. */
.hero-armenian-mark {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  animation: letter-drift 16s ease-in-out infinite;
}

.mark-1 { opacity: 0.05; font-size: 26rem; right: -4rem; top: -6rem; animation-delay: 0s; }
.mark-2 { opacity: 0.045; font-size: 9rem; left: -1.5rem; top: 8%; animation-delay: -3s; animation-duration: 19s; }
.mark-3 { opacity: 0.05; font-size: 7rem; left: 38%; bottom: -2rem; animation-delay: -8s; animation-duration: 14s; }
.mark-4 { opacity: 0.045; font-size: 11rem; right: 8%; bottom: -4rem; animation-delay: -11s; animation-duration: 21s; }
.mark-5 { opacity: 0.05; font-size: 8rem; left: 16%; top: -3rem; animation-delay: -6s; animation-duration: 18s; }
.mark-6 { opacity: 0.045; font-size: 10rem; right: 26%; top: 22%; animation-delay: -13s; animation-duration: 16s; }

/* Smaller pair used on the compact page heroes (Learn Armenian, Alphabet,
   Updates, legal pages) so the motif repeats without overwhelming the copy. */
.mark-a { opacity: 0.05; font-size: 6rem; left: -1rem; top: 6%; animation-delay: -2s; animation-duration: 17s; }
.mark-b { opacity: 0.045; font-size: 5rem; right: 4%; bottom: -1.2rem; animation-delay: -9s; animation-duration: 15s; }

@keyframes letter-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(0, -18px) rotate(1.5deg); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2em;
}

.hero-stripe {
  display: flex;
  gap: 6px;
  margin-bottom: 1.4em;
}
.hero-stripe span { width: 34px; height: 6px; border-radius: 4px; }
.hero-stripe span:nth-child(1) { background: #D4213D; }
.hero-stripe span:nth-child(2) { background: var(--blue); }
.hero-stripe span:nth-child(3) { background: var(--orange); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.phone-frame {
  position: relative;
  width: 240px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 6px solid var(--dark);
  background: var(--dark);
  transform: rotate(-4deg);
}
.phone-frame img { width: 100%; display: block; }

.phone-frame.phone-secondary {
  position: absolute;
  width: 168px;
  right: -8%;
  bottom: -8%;
  transform: rotate(7deg);
  z-index: 2;
  border-width: 5px;
}

.hero-badge-float {
  position: absolute;
  left: -6%;
  bottom: 6%;
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  transform: rotate(-3deg);
  z-index: 3;
}
.hero-badge-float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-1); }

/* ==========================================================================
   Sections & generic layout
   ========================================================================== */

.section { padding: 108px 0; }
.section-tight { padding: 72px 0; }
.section-grey { background: var(--grey-2); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--grey-1);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-icon.bg-blue { background: var(--blue-light); color: var(--blue); }
.feature-icon.bg-orange { background: var(--orange-light); color: var(--orange); }
.feature-icon.bg-green { background: #E7F2D6; color: var(--green-1); }
.feature-icon.bg-yellow { background: #FFF6D6; color: #B8860B; }

.feature-card h3 { margin-bottom: 0.4em; }
.feature-card p { color: var(--dark-2); font-size: 0.96rem; margin-bottom: 0; }

/* Screenshot showcase — polaroid style */
.showcase-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.polaroid {
  background: var(--white);
  padding: 10px 10px 22px;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.polaroid:nth-child(odd) { transform: rotate(-2.5deg); }
.polaroid:nth-child(even) { transform: rotate(2.5deg); }
.polaroid:hover { transform: rotate(0deg) translateY(-4px); }
.polaroid img { border-radius: 6px; }
.polaroid figcaption {
  font-family: var(--font-display);
  text-align: center;
  padding-top: 12px;
  font-size: 0.95rem;
  color: var(--dark-2);
}

.polaroid-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: inherit;
}

/* Screenshot lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: rgba(41, 55, 73, 0.82);
}
.lightbox.is-open { display: flex; }

.lightbox-figure {
  position: relative;
  max-width: 294px;
  width: 100%;
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
}

/* Fixed to the viewport (not the figure) so it stays reachable no matter
   how tall the screenshot is. */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  font-size: 1.3rem;
  line-height: 1;
  z-index: 201;
}
.lightbox-close:hover { background: var(--orange); }

/* About split */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--grey-1);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.stat-row {
  display: flex;
  gap: 28px;
  margin-top: 1.6em;
  flex-wrap: wrap;
}
.stat-row .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark);
}
.stat-row .stat span { color: var(--dark-2); font-size: 0.88rem; }

/* CTA band */
.cta-band {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-l);
  padding: 64px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: 'Ա';
  position: absolute;
  font-family: var(--font-display);
  font-size: 22rem;
  right: -2rem;
  bottom: -6rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { color: var(--grey-1); margin-bottom: 0; max-width: 40ch; }
.cta-band .btn-primary { flex-shrink: 0; }

.play-badge-link {
  flex-shrink: 0;
  display: inline-block;
  border-radius: 8px;
  transition: transform 0.15s ease;
}
.play-badge-link:hover { transform: translateY(-2px); }
.play-badge-link img { width: 200px; height: auto; }

/* ==========================================================================
   Learn Armenian page — facts
   ========================================================================== */

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fact-card {
  background: var(--grey-2);
  border-radius: var(--radius-m);
  padding: 26px;
  border-left: 4px solid var(--orange);
}
.fact-card.blue { border-left-color: var(--blue); }
.fact-card.green { border-left-color: var(--green-1); }
.fact-card h3 { font-size: 1.1rem; }
.fact-card p { color: var(--dark-2); font-size: 0.95rem; margin-bottom: 0; }

.script-sample {
  background: var(--dark);
  border-radius: var(--radius-l);
  padding: 48px;
  text-align: center;
  color: var(--white);
}
.script-sample .armenian-line {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--yellow);
  margin-bottom: 0.3em;
}
.script-sample .translit { color: var(--grey-1); font-size: 1.05rem; }
.script-sample .meaning { color: var(--grey-1); font-size: 0.9rem; opacity: 0.8; }

.hero-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: rotate(-2deg);
}
.hero-photo img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.hero-photo.wide img { aspect-ratio: 4/3; }

.mashtots-callout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
  background: var(--grey-2);
  border-radius: var(--radius-l);
  padding: 44px;
}
.mashtots-photo {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.mashtots-photo img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.mashtots-callout p:last-child { margin-bottom: 0; }

.culture-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.culture-photo {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.culture-photo img { width: 100%; height: 100%; object-fit: cover; }
.culture-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(transparent, rgba(41,55,73,0.88));
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ==========================================================================
   Online Classes page — benefits, pricing, intro-call form
   ========================================================================== */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--grey-1);
  border-radius: var(--radius-m);
  padding: 26px 24px;
}
.benefit-card h3 { font-size: 1.1rem; }
.benefit-card p { color: var(--dark-2); font-size: 0.95rem; margin-bottom: 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--grey-1);
  border-radius: var(--radius-l);
  padding: 36px;
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-card);
}
.price-card .price-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--orange);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--dark);
  margin: 0.2em 0 0;
  line-height: 1;
}
.price-card .price .unit {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-2);
}
.price-card .price-per {
  color: var(--dark-2);
  font-size: 0.88rem;
  margin-bottom: 1.4em;
}
.price-card ul {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card ul li {
  position: relative;
  padding-left: 1.7em;
  color: var(--dark-2);
  font-size: 0.95rem;
}
.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-1);
  font-weight: 700;
}
.price-card .btn { width: 100%; justify-content: center; }

.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--grey-2);
  border-radius: var(--radius-l);
  padding: 40px;
}
.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}
.form-row .optional {
  font-weight: 400;
  color: var(--dark-2);
}
.form-row input,
.form-row select {
  padding: 0.85em 1em;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--grey-1);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--dark);
  min-height: 44px;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--blue);
}
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-note {
  font-size: 0.85rem;
  color: var(--dark-2);
  margin-top: 16px;
  text-align: center;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  background: #E7F2D6;
  color: #3d6314;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.form-success.is-visible { display: block; }

/* ==========================================================================
   Alphabet page
   ========================================================================== */

.alphabet-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.alphabet-hint {
  color: var(--dark-2);
  font-size: 0.95rem;
}

.letter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 12px;
}

.letter-tile {
  aspect-ratio: 1;
  background: var(--white);
  border: 1.5px solid var(--grey-1);
  border-radius: var(--radius-s);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--dark);
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
  min-height: 44px;
  min-width: 44px;
}
.letter-tile .lat {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark-2);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.letter-tile:hover { border-color: var(--orange); transform: translateY(-2px); }
.letter-tile.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.letter-tile.is-active .lat { color: var(--blue-light); }

.letter-detail {
  margin-top: 36px;
  background: var(--grey-2);
  border-radius: var(--radius-l);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.letter-detail-glyph {
  font-family: var(--font-display);
  font-size: 5.5rem;
  color: var(--dark);
  line-height: 1;
  min-width: 110px;
  text-align: center;
}

.letter-detail-info .letter-latin {
  display: inline-block;
  background: var(--orange-light);
  color: #9a5300;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.letter-detail-info p { color: var(--dark-2); margin-bottom: 0; }

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.play-btn:hover { transform: scale(1.06); background: var(--dark); }
.play-btn svg { width: 26px; height: 26px; }
.play-btn.is-playing { background: var(--orange); }

/* ==========================================================================
   Updates page
   ========================================================================== */

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}

.update-post {
  background: var(--white);
  border: 1px solid var(--grey-1);
  border-radius: var(--radius-m);
  padding: 32px;
}

.update-post time {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.update-post .tag {
  display: inline-block;
  background: #E7F2D6;
  color: var(--green-1);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

.update-post p { color: var(--dark-2); margin-bottom: 0; }

/* ==========================================================================
   Legal pages (Imprint / Privacy)
   ========================================================================== */

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal-content p, .legal-content li { color: var(--dark-2); }
.legal-content ul { padding-left: 1.2em; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-updated {
  display: inline-block;
  background: var(--grey-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--dark-2);
  margin-bottom: 1.5em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--dark);
  color: var(--grey-1);
  padding: 64px 0 32px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-about { max-width: 32ch; font-size: 0.92rem; color: var(--grey-1); opacity: 0.85; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--grey-1); opacity: 0.85; font-size: 0.93rem; }
.footer-col a:hover { opacity: 1; color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer-bottom .footer-legal { display: flex; gap: 20px; }
.footer-bottom a { text-decoration: none; color: var(--grey-1); }
.footer-bottom a:hover { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; margin-top: 24px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-strip { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mark-1 { font-size: 18rem; }
  .hero-logo-float { left: 2%; top: -8%; width: 70px; height: 70px; }
  .mashtots-callout { grid-template-columns: 1fr; padding: 32px; }
  .mashtots-photo img { aspect-ratio: 16/9; }
  .culture-strip { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-header { top: 12px; margin-bottom: -76px; }

  .nav-pill.is-open {
    flex-wrap: wrap;
    border-radius: 24px;
  }
  .nav-pill.is-open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--grey-1);
    margin-top: 10px;
  }
  .nav-pill.is-open .nav-links a { padding: 12px 16px; }
  .nav-cta .btn span.long { display: none; }
  .nav-cta .btn span.short-label { display: inline; }

  .hero { padding: 128px 0 80px; }
  .section { padding: 72px 0; }
  .cta-band { padding: 40px 28px; text-align: center; justify-content: center; }
  .cta-band p { max-width: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .showcase-strip { grid-template-columns: 1fr 1fr; gap: 18px; }
  .facts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .letter-detail { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .letter-detail-info .letter-latin { margin: 0 auto 10px; }
  .play-btn { margin: 0 auto; }

  .culture-strip { grid-template-columns: 1fr 1fr; }
  .mark-2, .mark-3, .mark-4, .mark-5, .mark-6, .mark-a, .mark-b { display: none; }

  .benefit-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .contact-form-wrap { padding: 28px; }
}

@media (max-width: 480px) {
  .showcase-strip { grid-template-columns: 1fr 1fr; }
  .letter-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .letter-tile { font-size: 1.3rem; }
  .hero-visual { min-height: 300px; }
  .phone-frame { width: 190px; }
  .phone-frame.phone-secondary { width: 130px; }
  .hero-logo-float { width: 56px; height: 56px; border-radius: 14px; left: 4%; top: -6%; }
  .culture-strip { grid-template-columns: 1fr; }
  .play-badge-link img { width: 170px; }
}
