/* Amelia Błażejewska — brief mini-strona
 * Paleta: ziemiste zielenie + ciepły cream + akcent gold
 * Mobile-first
 */

:root {
  --bg: #FAF7F0;
  --bg-card: #FFFFFF;
  --ink: #1F2D24;
  --ink-soft: #4A5C53;
  --ink-muted: #8B978F;
  --green: #2D5A3F;
  --green-soft: #4A7C5F;
  --gold: #C8A961;
  --gold-soft: #E8D7A8;
  --border: #E8E2D3;
  --error: #B23A3A;
  --shadow: 0 1px 3px rgba(31,45,36,0.04), 0 4px 16px rgba(31,45,36,0.06);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* PLACEHOLDER (root /) */
body.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(180deg, #FAF7F0 0%, #F0EAD8 100%);
}
.placeholder-main { padding: 40px 24px; }
.placeholder-inner {
  text-align: center;
  max-width: 480px;
}
.placeholder-inner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  letter-spacing: -0.02em;
  color: var(--green);
  line-height: 1.1;
  margin: 16px 0 12px;
}
.placeholder-inner .lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.placeholder-inner .divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 32px;
}
.placeholder-inner .note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* HERO (brief) */
.hero {
  padding: 56px 0 32px;
  background: linear-gradient(180deg, #F0EAD8 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--green);
  margin: 12px 0 16px;
}
.hero h1 .hl { color: var(--gold); font-style: italic; }
.hero .lead {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.hero .lead.muted { color: var(--ink-muted); font-size: 0.92rem; }

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 0;
  border-bottom: 1px solid var(--gold-soft);
}

.progress-bar {
  margin-top: 24px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%);
  transition: width 0.3s ease;
}

/* MAIN / FORM */
main {
  padding: 32px 0 80px;
}

.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px 28px;
  margin: 20px auto;
  max-width: 720px;
  width: calc(100% - 48px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.card-intro {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 12px 0 24px;
  padding-left: 12px;
  border-left: 2px solid var(--gold-soft);
}
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.field {
  margin-top: 24px;
}
.field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 8px;
}
.qnum {
  display: inline-block;
  min-width: 26px;
  height: 26px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 26px;
  margin-right: 8px;
  vertical-align: 1px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,90,63,0.08);
  background: white;
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.7;
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .row { grid-template-columns: 1fr 1fr; }
}

/* SUBMIT */
.submit-card {
  text-align: center;
  background: var(--green);
  color: var(--bg);
  border: none;
}
.submit-card h2 { color: var(--gold-soft); }
.submit-card p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.btn-primary {
  display: inline-block;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 16px 40px;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}
.btn-primary:disabled {
  background: var(--ink-muted);
  cursor: wait;
  transform: none;
}
.fineprint {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.form-error {
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--error);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

/* FOOTER */
.footer {
  padding: 32px 0 48px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer a { color: var(--ink-soft); }

/* THANK YOU */
body.thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg) 0%, #F0EAD8 100%);
}
.thanks-main {
  text-align: center;
  max-width: 520px;
  padding: 48px 32px;
}
.thanks-main .checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold);
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-weight: 700;
}
.thanks-main h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: var(--green);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.thanks-main p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.thanks-main .next-steps {
  margin-top: 32px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  text-align: left;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.thanks-main .next-steps h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.thanks-main .next-steps ul {
  list-style: none;
  padding: 0;
}
.thanks-main .next-steps li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
}
.thanks-main .next-steps li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
