:root {
  --bg: #ffffff;
  --ink: #1f1b33;
  --muted: #5d5a70;
  --cyan: #3fd0f5;
  --blue: #1556d6;
  --green: #5bb317;
  --yellow: #ffe600;
  --orange: #ff7a00;
  --pink: #ee0a8a;
  --ribbon: linear-gradient(90deg, var(--cyan), var(--blue), var(--green), var(--yellow), var(--orange), var(--pink));
}

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

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 64px) clamp(20px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: min(520px, 86%);
  height: auto;
  margin-bottom: clamp(20px, 4vw, 40px);
  animation: rise 0.9s ease-out both;
}

.title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.bar {
  display: block;
  width: 120px;
  height: 6px;
  margin: 18px auto 22px;
  border-radius: 6px;
  background: var(--ribbon);
}

.text {
  margin: 0 0 28px;
  max-width: 46ch;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 300;
  color: var(--muted);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 2px solid #e3e1ee;
  border-radius: 999px;
  word-break: break-all;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.chip svg { flex: none; }

.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip:active { transform: scale(0.97); }
.chip:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.foot {
  padding: 18px 20px 22px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 4px solid transparent;
  border-image: var(--ribbon) 1;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Mobile */
@media (max-width: 520px) {
  .chip { width: 100%; padding: 0 16px; font-size: 1rem; }
}

/* Short landscape screens */
@media (max-height: 520px) and (orientation: landscape) {
  .logo { width: min(260px, 40%); margin-bottom: 14px; }
  .bar { margin: 10px auto 12px; }
  .text { margin-bottom: 16px; }
}

/* Large screens */
@media (min-width: 1600px) {
  .page { max-width: 900px; }
  .logo { width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo { animation: none; }
  * { transition: none !important; }
}
