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

:root {
  --bg: #feffed;
  --text: #0a0a0a;
  --muted: #666666;
  --accent: #629adf;
}

html {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  flex: 1;
  max-width: 480px;
  width: 100%;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  text-align: center;
}

/* Logo */
.logo {
  max-width: 260px;
  height: auto;
}

/* Tagline */
.tagline h1 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Apps */
.app-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.app-icon-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 22%;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-link:hover .app-icon-wrapper {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.app-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.app-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.app-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.app-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Social */
.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 2rem;
}

.social h2 {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.social-link img {
  display: block;
  filter: brightness(0);
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.social-link:hover img {
  opacity: 1;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ── Contact header ── */
.site-header {
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
}

.site-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo-icon {
  width: 28px;
  height: 28px;
}

/* ── Contact page ── */
.contact-body main {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  max-width: 600px;
  gap: 0;
}

.contact-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-intro {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d0d0d5;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
}

.submit-btn {
  align-self: flex-start;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.submit-btn:hover { background: var(--accent); color: var(--bg); }
.submit-btn:disabled { opacity: 0.4; cursor: default; }

.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status.success { color: #2e7d32; }
.form-status.error { color: #c0392b; }
