html {
  font-size: 15px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.tempulli-body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(165deg, #ecfdf5 0%, #f0fdfa 38%, #f8fafc 72%, #eef2ff 100%);
  background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
  .tempulli-card,
  .btn-tempulli,
  .tempulli-nav .nav-link {
    transition: none !important;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(15, 118, 110, 0.22);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.tempulli-footer {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

/* ----- Navbar ----- */
.tempulli-nav {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 45%, #115e59 100%) !important;
}

.tempulli-nav .navbar-brand {
  color: #fff !important;
  letter-spacing: -0.02em;
}

.tempulli-nav-brand .navbar-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.78) !important;
  white-space: normal;
  max-width: 14rem;
}

.tempulli-nav .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tempulli-nav .nav-link:hover {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.12);
}

.tempulli-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.35);
}

/* ----- Suggestion page ----- */
.tempulli-page .container {
  max-width: 42rem;
}

.tempulli-badge {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.tempulli-title {
  letter-spacing: -0.03em;
  color: #0f172a;
}

.tempulli-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34rem;
}

.tempulli-email-hint .tempulli-link {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 118, 110, 0.35);
}

.tempulli-email-hint .tempulli-link:hover {
  border-bottom-color: #0f766e;
}

.tempulli-card {
  max-width: 42rem;
  border-radius: 1.25rem !important;
  box-shadow:
    0 28px 55px -18px rgba(15, 118, 110, 0.22),
    0 14px 28px -12px rgba(15, 23, 42, 0.14) !important;
}

.tempulli-card-accent {
  height: 5px;
  background: linear-gradient(90deg, #0f766e, #14b8a6 42%, #22d3ee 88%);
}

.tempulli-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.tempulli-input {
  border-color: rgba(148, 163, 184, 0.45);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tempulli-input:focus {
  border-color: #14b8a6;
}

.tempulli-form textarea.tempulli-input {
  min-height: 11rem;
  resize: vertical;
}

.btn-tempulli {
  color: #fff !important;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 55%, #0891b2 100%);
  border: none;
  box-shadow: 0 10px 24px -8px rgba(15, 118, 110, 0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-tempulli:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(15, 118, 110, 0.55);
}

.btn-tempulli:active {
  transform: translateY(0);
}

.tempulli-btn-icon {
  vertical-align: -0.25rem;
}

.tempulli-success-icon {
  width: 4.25rem;
  height: 4.25rem;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.18), rgba(52, 211, 153, 0.12));
  color: #059669;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.tempulli-settings-shell {
  max-width: 52rem;
}

.tempulli-welcome-shell {
  max-width: 40rem;
  margin-inline: auto;
}

.tempulli-landing-prose {
  max-width: 36rem;
  margin-inline: auto;
  text-align: left;
}

.tempulli-privacy-note {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-left-width: 4px;
}
