:root {
  --cream:  #EEEECA;
  --gold:   #DCC174;
  --olive:  #C9C65B;
  --dark:   #333B30;
  --sand:   #D4C58E;
  --muted:  #6B6B55;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: 'Manrope', system-ui, -apple-system, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ─── Focus visible ─── */
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── Layout ─── */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  gap: 56px;
}

/* ─── Hero ─── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.logo {
  height: clamp(64px, 16vw, 108px);
  width: auto;
  max-width: 100%;
  display: block;
}

.tagline {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--dark);
  opacity: 0.55;
}

.notice {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border: 1px solid var(--sand);
  border-radius: 20px;
  background: transparent;
}

/* ─── CTA ─── */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@keyframes tg-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.022); }
}

.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--gold);
  color: var(--dark);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 4px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(220, 193, 116, 0.45);
  will-change: transform;
  animation: tg-pulse 2.8s ease-in-out infinite;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-tg:hover {
  background-color: var(--olive);
  animation-play-state: paused;
  transform: scale(1.03);
}

.btn-tg svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ─── Contacts ─── */
.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.contacts__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contacts__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto;
}

.contacts__footnote-mark {
  font-size: 11px;
  line-height: 1;
  vertical-align: super;
}

.contacts__list a,
.address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.contacts__list a:hover,
.address:hover {
  opacity: 0.6;
}

.contacts__list a svg,
.address svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--dark);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.65;
}

.address {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* ─── Footer ─── */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  border-top: 1px solid var(--sand);
  padding-top: 32px;
  width: 100%;
}

.quote {
  font-style: italic;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
  border: none;
  quotes: none;
}

.copyright {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

.legal {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.5;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.footer-links a:hover { opacity: 1; }

.footer-links span {
  color: var(--muted);
  opacity: 0.4;
}

.contacts__footnote {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 520px;
}

/* ─── Compliment ─── */
.compliment {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 32px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.compliment--loaded {
  opacity: 1;
  transform: translateY(0);
}

.compliment__eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

.compliment__text {
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.85;
  max-width: 520px;
}

/* ─── Tablet ─── */
@media (min-width: 768px) {
  .page {
    padding: 72px 40px 56px;
    gap: 64px;
  }

  .contacts__list {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 16px 56px;
    width: auto;
    margin: 0;
    justify-items: start;
  }
}

/* ─── Desktop ─── */
@media (min-width: 1024px) {
  .page {
    padding: 96px 40px 64px;
    gap: 72px;
  }

  .contacts__list {
    grid-template-columns: repeat(4, max-content);
    gap: 16px 48px;
  }
}

