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

:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6473;
  --soft: #f3f5fb;
  --card: #ffffff;
  --accent: #2155ff;
  --accent-dark: #1a3ecc;
  --border: rgba(17, 24, 39, 0.08);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at top left, #e8efff 0%, #f8f6ff 35%, #f5f7fb 70%);
  color: var(--ink);
  position: relative;
  overflow-x: hidden;
}

.bg-blur {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(33, 85, 255, 0.18), rgba(255, 255, 255, 0));
  filter: blur(10px);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.page {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 72px 0 96px;
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 32px;
  animation: rise 0.8s ease forwards;
}

.brand-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.brand-badge {
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: linear-gradient(135deg, #1f2937, #111827);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  font-weight: 600;
  overflow: hidden;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.3);
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-info h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.brand-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.brand-motto {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.brand-description {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
}

.social-grid .grid-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.social-grid h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.social-grid p {
  color: var(--muted);
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(33, 85, 255, 0.08), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(33, 85, 255, 0.15);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(33, 85, 255, 0.2);
  border: 1px solid rgba(33, 85, 255, 0.35);
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(33, 85, 255, 0.12);
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.social-name {
  font-weight: 600;
  display: block;
}

.social-hint {
  font-size: 12px;
  color: var(--muted);
}

.empty-state {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--soft);
  color: var(--muted);
}

.card-notice {
  display: flex;
  gap: 20px;
  align-items: center;
}

.card-notice h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  margin-bottom: 10px;
}

.card-notice p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.notice-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(248, 113, 113, 0.15);
  color: #dc2626;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.notice-meta {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.notice-meta strong {
  color: var(--ink);
}

.form-wrapper {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 56px 0 96px;
  display: grid;
  gap: 24px;
}

.form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-card h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.form-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  font-weight: 600;
  font-size: 14px;
}

input,
textarea,
select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.social-rows {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.social-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 12px;
  align-items: center;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(33, 85, 255, 0.12);
  color: var(--accent);
}

.alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert.error {
  background: rgba(248, 113, 113, 0.15);
  color: #b91c1c;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

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

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

@media (max-width: 820px) {
  .brand-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-badge {
    margin: 0 auto;
  }

  .card-notice {
    flex-direction: column;
    text-align: center;
  }

  .social-row {
    grid-template-columns: 1fr;
  }
}
