/* Equip Ukraine  —  site styles */

/* Linked from stand-with-ukraine.html. Edit colours and spacing here. */

:root {
  --ink: #14243D;
  --ink-soft: #43516A;
  --blue: #1B4FA0;
  --blue-deep: #0E2A57;
  --gold: #E7A70C;
  --gold-deep: #B9820A;
  --gold-soft: #FCEFC8;
  --paper: #FAFBFD;
  --card: #FFFFFF;
  --line: #E4E9F1;
  --cream: #F7F3E8;
  --shadow: 0 1px 2px rgba(14,42,87,.06), 0 8px 24px rgba(14,42,87,.06);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2 {
  font-family: "Fraunces",Georgia,serif;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.12;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,251,253,.86);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.brand .flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 1px rgba(20,36,61,.08);
}

.brand .flag span {
  display: block;
  height: 8px;
}

.brand .flag .b {
  background: #0F57C4;
}

.brand .flag .y {
  background: #F7CC1B;
}

.langbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: 600 14px "Inter",sans-serif;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s,background .15s;
}

.langbtn:hover {
  border-color: #C7D2E4;
  background: #fff;
}

.langbtn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.hero {
  background: radial-gradient(120% 90% at 50% -10%, rgba(231,167,12,.18), transparent 60%),linear-gradient(180deg,#0E2A57 0%, #123566 100%);
  color: var(--cream);
  text-align: center;
  padding: 52px 20px 56px;
  position: relative;
  overflow: hidden;
}

.signal {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  position: relative;
}

.signal .ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2.8s ease-out infinite;
}

.signal .ring:nth-child(2) {
  animation-delay: .9s;
}

.signal .ring:nth-child(3) {
  animation-delay: 1.8s;
}

.signal .core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(231,167,12,.7);
}

@keyframes pulse {
  0% {
    transform: scale(.25);
    opacity: .9;
  }
  80% {
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.hero h1 {
  color: #FBF6EA;
  font-size: 38px;
  margin: 0 0 16px;
  max-width: 14ch;
  margin-inline: auto;
}

.hero p {
  color: #D6E0F2;
  font-size: 18px;
  margin: 0 auto 28px;
  max-width: 38ch;
}

.cta {
  display: inline-block;
  background: var(--gold);
  color: #1B1403;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(231,167,12,.35);
  transition: transform .12s,box-shadow .15s;
}

.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(231,167,12,.45);
}

.hero .micro {
  display: block;
  margin-top: 18px;
  color: #AFC1E0;
  font-size: 14.5px;
}

section {
  padding: 44px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  box-shadow: 0 0 0 4px var(--gold-soft);
}

h2 {
  font-size: 27px;
  margin: 0 0 14px;
}

.lead {
  color: var(--ink-soft);
  font-size: 17px;
}

.lead strong {
  color: var(--ink);
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 24px;
  border-radius: 999px;
  transition: background .15s;
}

.btn:hover {
  text-decoration: none;
  background: #17458C;
}

/* Video */

.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--blue-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video .ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #AFC1E0;
  font-size: 15px;
  padding: 24px;
}

.video .ph svg {
  width: 40px;
  height: 40px;
  opacity: .6;
}

.caption {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}

/* Story */

.story {
  background: linear-gradient(180deg,#FFFDF6,#FFF8E9);
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  padding: 24px 26px;
}

.story p {
  color: var(--ink);
  font-size: 16.5px;
  margin: 0;
}

.story .sig {
  margin-top: 12px;
  font-weight: 600;
  color: var(--blue-deep);
}

/* Who facts */

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.fact {
  flex: 1 1 160px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.fact b {
  display: block;
  font-family: "Fraunces",serif;
  font-size: 20px;
  color: var(--blue-deep);
  line-height: 1.1;
}

.fact span {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Goal */

.goal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.goal .glabel {
  font-family: "Fraunces",serif;
  font-size: 22px;
  color: var(--blue-deep);
  line-height: 1.15;
  margin: 0;
}

.bar {
  height: 14px;
  background: #EDF1F8;
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0 10px;
}

.bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--gold-deep),var(--gold));
  transition: width .9s ease;
}

.gnums {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-soft);
}

.gnums b {
  font-size: 19px;
  color: var(--ink);
  font-weight: 700;
}

.gnums #goalRaisedWord {
  margin-left: 4px;
}

.chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.chip {
  background: var(--gold-soft);
  color: #7a5606;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 600;
}

.chip.muted {
  background: #EEF2F8;
  color: var(--ink-soft);
}

.reached {
  display: none;
  margin-top: 14px;
  background: #E7F7EE;
  color: #1E7A46;
  border: 1px solid #BFE8CF;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
}

.goal .btn {
  margin-top: 18px;
}

/* Ladder */

.ladder {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.tier {
  display: flex;
  align-items: baseline;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.tier .amt {
  font-family: "Fraunces",serif;
  font-size: 26px;
  color: var(--blue-deep);
  flex: none;
  min-width: 62px;
}

.tier .body b {
  display: block;
  font-weight: 600;
}

.tier .body span {
  color: var(--ink-soft);
  font-size: 15px;
}

.tier.pick {
  border-color: var(--gold);
  background: linear-gradient(180deg,#FFFDF6,#FFF9EA);
  box-shadow: 0 8px 24px rgba(231,167,12,.14);
}

.tag {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--gold);
  color: #1B1403;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Donate */

.give {
  background: var(--blue-deep);
  color: #EAF0FB;
  border-radius: 18px;
  padding: 28px 22px;
  margin-top: 8px;
}

.give .eyebrow {
  color: #F3D06B;
}

.give .eyebrow::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(231,167,12,.22);
}

.give h2 {
  color: #fff;
  font-size: 24px;
}

.give .label {
  color: #AFC1E0;
  font-size: 14px;
  margin: 18px 0 8px;
}

.copyrow {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.copyrow .email {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copybtn {
  flex: none;
  background: var(--gold);
  color: #1B1403;
  border: 0;
  border-radius: 10px;
  font: 700 15px "Inter",sans-serif;
  padding: 0 18px;
  cursor: pointer;
  transition: background .15s;
}

.copybtn:hover {
  background: #F3B622;
}

.copybtn.done {
  background: #3FB36B;
  color: #fff;
}

.note {
  color: #AFC1E0;
  font-size: 14px;
  margin-top: 12px;
}

.promises {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.promises li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: #EAF0FB;
}

.promises svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  color: var(--gold);
}

.fblink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #F3D06B;
  font-weight: 600;
}

.fblink:hover {
  color: #fff;
}

.fblink svg {
  width: 18px;
  height: 18px;
}

/* Form */

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 13px 14px;
  font: 400 16px "Inter",sans-serif;
  color: var(--ink);
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,160,.14);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.send {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font: 700 16px "Inter",sans-serif;
  padding: 15px;
  cursor: pointer;
  transition: background .15s;
}

.send:hover {
  background: #17458C;
}

.formstatus {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  min-height: 20px;
}

/* Supporters */

.supporters .lead {
  margin-bottom: 18px;
}

.wall {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 6px;
  max-height: 280px;
  overflow: auto;
}

.wall ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.wall li {
  padding: 9px 12px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
}

.wall li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 9px;
  vertical-align: middle;
}

footer {
  background: #0B2148;
  color: #AFC1E0;
  padding: 34px 20px;
  text-align: center;
  margin-top: 10px;
}

footer .frow {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

footer a {
  color: #EAF0FB;
  font-weight: 600;
}

footer .fine {
  font-size: 13px;
  color: #7E93BC;
  max-width: 44ch;
  margin: 0 auto 8px;
  line-height: 1.5;
}

footer .credit {
  font-size: 13px;
  color: #5E76A6;
}

@media (max-width:480px) {
  .hero h1 {
    font-size: 31px;
  }
}

@media (max-width:480px) {
  .tier .amt {
    font-size: 23px;
    min-width: 54px;
  }
}

@media (max-width:480px) {
  .wall ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width:480px) {
  .facts {
    gap: 8px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .signal .ring {
    animation: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion:reduce) {
  .bar > span {
    transition: none;
  }
}

