* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #fafaf9;
  color: #1c1917;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 16px;
}
body.home {
  justify-content: center;
}
.wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 0 auto;
  justify-content: center;
}
.support-wrap {
  gap: 10px;
}
.support-wrap .back {
  margin-bottom: 0;
}
.support-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: #1c1917;
  text-align: center;
}
a.card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 20px;
  border: 1.5px solid #e7e5e4;
  border-radius: 16px;
  background: #ffffff;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}
a.card:hover {
  border-color: #059669;
}
.logo {
  display: block;
  flex: 0 1 auto;
  height: 56px;
  width: auto;
  max-width: calc(100% - 74px);
  object-fit: contain;
}
.flag {
  flex: 0 0 auto;
  font-size: 54px;
  line-height: 1;
  text-align: center;
}
.site-footer {
  width: 100%;
  max-width: 420px;
  margin-top: 36px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.875rem;
  color: #78716c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.site-footer a {
  color: #57534e;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0 0.15rem;
}
.site-footer a:hover {
  color: #065f46;
}
.site-footer .footer-divider {
  display: block;
  width: 1px;
  height: 14px;
  background-color: #78716c;
  flex: 0 0 1px;
}

/* Privacy / long pages */
.page {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  flex: 1 0 auto;
}
.page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #1c1917;
}
.page .meta {
  font-size: 0.8125rem;
  color: #78716c;
  margin: 0 0 1.5rem;
}
.page h2 {
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: underline;
  margin: 1.4rem 0 0.55rem;
  color: #1c1917;
}
.page p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #44403c;
  margin: 0 0 0.75rem;
}
.back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #047857;
  text-decoration: none;
}
.back:hover { text-decoration: underline; }

.intro {
  text-align: center;
  color: #57534e;
  font-size: 0.875rem;
  margin: 0;
}
.form-box {
  width: 100%;
  border: 1.5px solid #e7e5e4;
  border-radius: 16px;
  background: #ffffff;
  padding: 22px 20px;
}
.form-box label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #44403c;
  margin-bottom: 4px;
}
.form-box input,
.form-box textarea {
  width: 100%;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #1c1917;
  background: #fff;
  font-family: inherit;
}
.form-box input:focus,
.form-box textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.form-box .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.form-box button {
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background: #047857;
  cursor: pointer;
}
.form-box button:hover { background: #065f46; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.thanks {
  width: 100%;
  border: 1.5px solid #a7f3d0;
  background: #ecfdf5;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
}
.thanks strong {
  display: block;
  color: #064e3b;
  margin-bottom: 0.35rem;
}
.thanks p {
  color: #065f46;
  font-size: 0.8125rem;
  margin: 0;
}
.error {
  width: 100%;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.8125rem;
}
