/* Edukejt — landing (coming soon). Ciepła, neutralna paleta. */

:root {
  --bg:            #FBF6EE;
  --surface:       #FFFFFF;
  --surface-warm:  #FFFBF6;
  --ink:           #3B322B;
  --ink-soft:      #6F6357;
  --ink-faint:     #9A8C7D;
  --accent:        #E07A5F;
  --accent-strong: #CB5F45;
  --accent-soft:   #F7E7DD;
  --line:          #ECE1D4;
  --ring:          rgba(224, 122, 95, 0.35);
  --radius:        18px;
  --radius-sm:     12px;
  --shadow:        0 18px 50px -24px rgba(94, 64, 43, 0.35);
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
  background-image:
    radial-gradient(120% 90% at 50% -10%, #FCEFE3 0%, rgba(252, 239, 227, 0) 60%),
    radial-gradient(90% 70% at 100% 0%, #F7E7DD 0%, rgba(247, 231, 221, 0) 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 6rem) 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Znak / placeholder pod logo (docelowo: postać Kejt) */
.mark {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #F2A07A 0%, var(--accent) 70%);
  box-shadow: 0 14px 30px -12px var(--ring);
  margin-bottom: 1.75rem;
}
.mark svg { width: 40px; height: 40px; display: block; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.wordmark {
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.wordmark .kejt { color: var(--accent); }

.tagline {
  font-size: clamp(1.05rem, 3.6vw, 1.3rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1rem;
  max-width: 30ch;
}

.lede {
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
  max-width: 46ch;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.chips li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

/* Formularz kontaktowy */
.contact {
  width: 100%;
  max-width: 420px;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 5vw, 1.9rem);
  text-align: left;
}
.contact h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.contact p.hint {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}

.field { margin-bottom: 0.85rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

button.submit {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-top: 0.4rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
button.submit:hover { background: var(--accent-strong); }
button.submit:active { transform: translateY(1px); }
button.submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

.consent {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin: 0.9rem 0 0;
  line-height: 1.5;
}

/* Komunikat po wysłaniu */
.form-status {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.ok    { background: #EAF3EC; color: #2E6B43; }
.form-status.error { background: #FBEAE6; color: var(--accent-strong); }

.thanks {
  display: none;
  text-align: center;
  padding: 0.5rem 0;
}
.thanks.is-visible { display: block; }
.thanks strong { display: block; font-size: 1.1rem; margin-bottom: 0.3rem; }
.thanks span { color: var(--ink-soft); font-size: 0.95rem; }

.site-footer {
  flex-shrink: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
  padding: 1.5rem;
}

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