.contribution-page { background: #fff; }
.contribution-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 56px;
  background:
    radial-gradient(circle at 3% 15%, rgba(38,184,236,.11), transparent 20%),
    radial-gradient(circle at 92% 18%, rgba(245,41,141,.10), transparent 23%),
    linear-gradient(120deg,#fff 0%,#fffaf2 52%,#fff7fb 100%);
}
.contribution-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 66px; align-items: center; }
.contribution-hero-copy .eyebrow { display: inline-flex; margin-bottom: 20px; padding: 7px 15px; border-radius: 999px; background: #ffe9a8; color: #6b5200; font-size: 11px; font-weight: 900; letter-spacing: .09em; }
.contribution-hero-copy h1 { margin: 0; color: var(--navy); font-size: clamp(42px,5.2vw,73px); line-height: .98; letter-spacing: -.045em; }
.contribution-hero-copy h1 em { position: relative; display: inline-block; margin-top: 8px; color: var(--pink); font-family: "Segoe Print","Bradley Hand",cursive; font-size: .88em; font-style: italic; font-weight: 800; letter-spacing: -.04em; }
.contribution-hero-copy h1 em::after { content: ""; position: absolute; left: 4%; right: 1%; bottom: -8px; height: 5px; border-radius: 999px; background: #ffc41c; transform: rotate(-1.3deg); }
.contribution-hero-copy > p { max-width: 620px; margin: 28px 0 22px; color: #53627d; font-size: 16px; line-height: 1.65; }
.contribution-points { display: grid; gap: 13px; margin: 24px 0 26px; }
.contribution-points > div { display: grid; grid-template-columns: 46px 1fr; gap: 13px; align-items: center; }
.point-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #ef3d8f; font-weight: 900; }
.point-icon.orange { background: #ff981c; }
.point-icon.teal { background: #20b7b2; }
.contribution-points p { margin: 0; }
.contribution-points strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: 13px; }
.contribution-points small { color: #68758c; font-size: 11px; line-height: 1.45; }
.contribution-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 46px;
  background: linear-gradient(135deg,#ffdd86,#ffc4d7 48%,#d6b9ff);
  box-shadow: 0 24px 55px rgba(62,43,105,.12);
}
.contribution-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 18%,rgba(255,255,255,.65) 0 11%,transparent 12%),radial-gradient(circle at 20% 75%,rgba(255,255,255,.32) 0 14%,transparent 15%); }
.contribution-visual > strong { position: absolute; left: 28px; bottom: 22px; z-index: 5; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--navy); font-size: 12px; }
.paper { position: absolute; width: 43%; height: 58%; border-radius: 16px; background: #fffdf8; box-shadow: 0 18px 35px rgba(86,58,72,.18); }
.paper-one { left: 16%; top: 17%; transform: rotate(-8deg); }
.paper-two { left: 31%; top: 21%; transform: rotate(6deg); background: repeating-linear-gradient(#fffdf8 0 31px,#e9edf6 32px 33px); }
.pen-shape { position: absolute; right: 20%; bottom: 22%; width: 33%; height: 18px; border-radius: 999px; background: linear-gradient(90deg,#6e35da,#f5298d 60%,#ffaf28); transform: rotate(-31deg); box-shadow: 0 8px 18px rgba(68,42,92,.16); }
.pen-shape::after { content: ""; position: absolute; right: -18px; top: 1px; border-left: 20px solid #26365e; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.note-card { position: absolute; right: 8%; top: 12%; min-width: 155px; padding: 22px 18px; border-radius: 13px; background: #fff; box-shadow: 0 15px 30px rgba(54,38,68,.14); color: var(--navy); font-family: "Segoe Print","Bradley Hand",cursive; font-size: 19px; line-height: 1.45; text-align: center; transform: rotate(5deg); }
.contrib-doodle { position: absolute; z-index: 2; font-weight: 900; }
.contrib-doodle.d1 { left: 2%; top: 60px; color: #1caee8; font-size: 30px; }
.contrib-doodle.d2 { right: 4%; top: 80px; color: #f5298d; font-size: 26px; transform: rotate(18deg); }
.contrib-doodle.d3 { left: 3.5%; bottom: 35px; color: #ff981c; font-size: 40px; }

.contribution-main { padding: 34px 0 42px; background: linear-gradient(#fff,#fffafd); }
.contribution-layout { display: grid; grid-template-columns: .34fr .66fr; overflow: hidden; border: 1px solid #e3e8f1; border-radius: 28px; background: #fff; box-shadow: 0 18px 50px rgba(20,42,85,.08); }
.contribution-rules { padding: 36px 32px; border-right: 1px solid #edf0f5; background: linear-gradient(155deg,#fff,#fffaf4); }
.contribution-form-panel { padding: 36px 42px 32px; }
.panel-heading h2 { position: relative; display: inline-block; margin: 0 0 29px; color: var(--navy); font-size: 26px; line-height: 1.1; }
.panel-heading h2::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 48px; height: 3px; border-radius: 10px; background: var(--pink); }
.rule-item { display: grid; grid-template-columns: 42px 1fr; gap: 13px; margin: 0 0 24px; }
.rule-item > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#7c3ce0,#f5298d); font-size: 13px; font-weight: 900; }
.rule-item strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 13px; }
.rule-item p { margin: 0; color: #617087; font-size: 11px; line-height: 1.55; }
.rules-note { margin-top: 34px; padding: 17px; border-radius: 16px; background: #eef8ff; border: 1px solid #d4eefb; }
.rules-note strong { color: var(--navy); font-size: 12px; }
.rules-note p { margin: 5px 0 0; color: #5f7087; font-size: 10px; line-height: 1.5; }

.form-alert { display: grid; gap: 3px; margin: 0 0 20px; padding: 13px 15px; border-radius: 13px; font-size: 12px; }
.form-alert strong { font-size: 14px; }
.form-alert.success { color: #126254; background: #e8fbf4; border: 1px solid #bdebdc; }
.form-alert.error { color: #8a244d; background: #fff0f6; border: 1px solid #f6c8dc; }
.contribution-form { display: grid; gap: 16px; }
.type-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 0; padding: 0; border: 0; }
.type-selector legend { grid-column: 1 / -1; margin-bottom: 3px; color: #35415b; font-size: 11px; font-weight: 800; }
.type-selector legend span { color: #f5298d; }
.type-card { position: relative; display: grid; grid-template-columns: 45px 1fr; gap: 12px; align-items: center; min-height: 86px; padding: 14px; border: 1px solid #dce3ee; border-radius: 16px; cursor: pointer; background: #fff; transition: .2s ease; }
.type-card:hover { border-color: #b99cea; transform: translateY(-1px); }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card:has(input:checked) { border-color: #9a61e4; box-shadow: 0 0 0 4px rgba(125,53,223,.08); background: #fcf9ff; }
.type-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #ef3d8f; font-weight: 900; }
.type-icon.orange { background: #ff981c; }
.type-card strong { display: block; color: var(--navy); font-size: 12px; }
.type-card small { display: block; margin-top: 3px; color: #728096; font-size: 9px; line-height: 1.4; }
.form-row { display: grid; gap: 6px; }
.form-row.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-row label > span { color: #35415b; font-size: 11px; font-weight: 800; }
.form-row input,.form-row select,.form-row textarea { width: 100%; border: 1px solid #dce3ee; border-radius: 10px; outline: 0; background: #fff; color: var(--ink); font: inherit; font-size: 12px; transition: border-color .2s ease,box-shadow .2s ease; }
.form-row input,.form-row select { min-height: 42px; padding: 0 13px; }
.form-row textarea { padding: 12px 13px; resize: vertical; line-height: 1.55; }
.form-row input:focus,.form-row select:focus,.form-row textarea:focus { border-color: #9c64e5; box-shadow: 0 0 0 4px rgba(125,53,223,.08); }
.identity-row { grid-template-columns: 1fr 1fr; gap: 16px; }
.pseudo-field.is-hidden { display: none; }
.file-field { display: block; padding: 14px; border: 1px dashed #cfd8e7; border-radius: 14px; background: #fbfcff; }
.file-field input[type=file] { min-height: 0; padding: 8px 0 0; border: 0; }
.file-field small { display: block; margin-top: 4px; color: #8490a2; font-size: 9px; }
.confirmations { display: grid; gap: 9px; margin-top: 2px; padding: 15px; border-radius: 15px; background: #f8fafc; }
.confirmations label { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; color: #667289; font-size: 10px; line-height: 1.5; }
.confirmations input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--pink); }
.form-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-top: 4px; }
.form-submit-row .btn { min-width: 260px; justify-content: center; }
.form-submit-row small { max-width: 340px; color: #929cac; font-size: 9px; line-height: 1.45; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.contribution-process-section { padding: 4px 0 44px; background: #fffafd; }
.section-heading.centered { text-align: center; }
.section-heading.centered h2 { display: inline-block; margin: 0 0 26px; color: var(--navy); font-size: 30px; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.process-grid article { position: relative; padding: 26px 24px 24px 70px; border: 1px solid #e6eaf2; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgba(25,42,78,.05); }
.process-grid article > span { position: absolute; left: 21px; top: 22px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#7541db,#f5298d); font-weight: 900; }
.process-grid strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 13px; }
.process-grid p { margin: 0; color: #68768c; font-size: 10px; line-height: 1.55; }

@media (max-width: 980px) {
  .contribution-hero-grid { gap: 36px; }
  .contribution-layout { grid-template-columns: .4fr .6fr; }
}
@media (max-width: 760px) {
  .contribution-hero { padding: 38px 0 40px; }
  .contribution-hero-grid,.contribution-layout { grid-template-columns: 1fr; }
  .contribution-visual { min-height: 300px; }
  .contribution-rules { border-right: 0; border-bottom: 1px solid #edf0f5; }
  .contribution-form-panel,.contribution-rules { padding: 28px 20px; }
  .type-selector,.form-row.two-columns,.identity-row,.process-grid { grid-template-columns: 1fr; }
  .contribution-hero-copy h1 { font-size: 48px; }
}
@media (max-width: 480px) {
  .contribution-hero-copy h1 { font-size: 40px; }
  .contribution-visual { min-height: 255px; border-radius: 30px; }
  .note-card { min-width: 120px; font-size: 15px; }
  .form-submit-row .btn { width: 100%; min-width: 0; }
}
