:root {
  --teal: #087f73;
  --teal-dark: #075f58;
  --teal-ink: #173a37;
  --coral: #ff6b4a;
  --coral-dark: #e85439;
  --cream: #fff8ee;
  --mist: #eefaf8;
  --white: #fff;
  --muted: #61706e;
  --line: #d9e8e6;
  --shadow: 0 14px 38px rgba(8, 78, 70, 0.08);
  --radius: 18px;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--teal-ink); background: var(--white); font-family: Nunito, ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button, .action-card { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 16px; color: #fff; background: var(--teal); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(8,127,115,.08); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo, .custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo img, .custom-logo { width: 178px; height: 56px; object-fit: contain; object-position: left center; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.location-pill, .location-inline { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; color: var(--teal-ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; cursor: pointer; }
.location-pill span:first-child, .location-inline { color: var(--teal); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border: 2px solid transparent; border-radius: 11px; font-weight: 900; line-height: 1.2; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(255,107,74,.4); outline-offset: 3px; }
.button--outline { color: var(--teal); background: #fff; border-color: var(--teal); }
.button--teal { color: #fff; background: var(--teal); }
.button--coral { color: #fff; background: var(--coral); }
.button--small { width: 100%; min-height: 38px; padding: 7px 12px; border-width: 1.5px; font-size: .9rem; }

.hero { overflow: hidden; background: radial-gradient(circle at 70% 15%, #fff 0, var(--cream) 57%, #fff6e9 100%); }
.hero-grid { min-height: 370px; display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(380px, .8fr); align-items: center; gap: 28px; padding-block: 34px 25px; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { max-width: 830px; margin: 0; font-size: clamp(2.55rem, 4.1vw, 4.6rem); font-weight: 900; line-height: .99; letter-spacing: -.045em; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 span { color: var(--teal); }
.hero h1 strong { color: var(--coral); }
.hero-copy { margin: 14px 0 20px; color: #16484a; font-size: clamp(1rem, 1.5vw, 1.35rem); font-weight: 900; }
.hero-actions { max-width: 850px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.action-card { min-height: 112px; display: grid; grid-template-columns: 72px 1fr 20px; align-items: center; gap: 12px; padding: 18px 24px; color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.action-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(8,78,70,.16); }
.action-card--give { background: var(--teal); }
.action-card--need { background: var(--coral); }
.action-card strong { display: block; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.1; }
.action-card small { display: block; margin-top: 6px; font-size: 1rem; font-weight: 600; }
.action-card i { font-size: 2.4rem; font-style: normal; font-weight: 400; }
.action-icon { position: relative; display: grid; width: 58px; height: 58px; place-items: center; color: #fff; border: 4px solid currentColor; border-radius: 13px; font-size: 2rem; }
.action-icon b { position: absolute; right: -9px; bottom: -9px; display: grid; width: 25px; height: 25px; place-items: center; color: var(--teal); background: #fff; border-radius: 50%; font-size: 1rem; }
.action-icon--search { width: 47px; height: 47px; border-radius: 50%; }
.action-icon--search::after { content: ""; position: absolute; width: 24px; height: 5px; right: -18px; bottom: -9px; background: currentColor; border-radius: 999px; transform: rotate(45deg); transform-origin: left center; }
.free-note { display: flex; justify-content: center; align-items: center; gap: 9px; margin: 15px 0 0; color: #205b5b; font-weight: 700; }
.free-note span { display: grid; width: 25px; height: 25px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; }
.hero-visual { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.hero-visual svg { width: 100%; max-height: 335px; overflow: visible; }
.hero-visual .map-path { fill: none; stroke: #cdeae5; stroke-width: 5; stroke-dasharray: 12 12; }
.hero-visual .pin { fill: #b9dfd7; opacity: .8; transform: scale(.55); transform-origin: center; }
.hero-visual .pin--right { opacity: .65; }
.hero-visual .person.giver, .hero-visual .giver { fill: var(--teal); }
.hero-visual .receiver, .hero-visual .receiver-head { fill: var(--coral); }
.hero-visual .arm { fill: none; stroke-width: 30; stroke-linecap: round; }
.hero-visual .arm.giver { stroke: var(--teal); }
.hero-visual .arm.receiver { stroke: var(--coral); }
.hero-visual .item-path { fill: none; stroke: var(--coral); stroke-width: 8; stroke-linecap: round; }
.hero-visual .moving-item { fill: var(--coral); }

.items-section { padding: 42px 0 30px; }
.items-section--country { margin-top: 10px; background: linear-gradient(180deg, #f1fbf9 0, #fff 100%); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.section-heading h2, .how-panel h2 { margin: 0; color: #123f51; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; }
.section-heading p { margin: 3px 0 0; color: #315e6c; }
.feed-controls { display: flex; align-items: center; gap: 25px; }
.tabs { display: flex; align-items: end; gap: 15px; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 12px 18px; color: #456b73; background: transparent; border: 0; cursor: pointer; font-weight: 800; }
.tab.is-active { color: var(--teal); background: var(--mist); border-radius: 12px 12px 0 0; }
.tab.is-active::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: -2px; background: var(--teal); border-radius: 999px; }
.location-inline { padding: 8px 0; border: 0; background: transparent; }
.item-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.item-card { overflow: hidden; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 7px 20px rgba(15,66,61,.04); }
.item-card__image { position: relative; display: block; aspect-ratio: 1.55/1; overflow: hidden; background: var(--mist); }
.item-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.item-card:hover .item-card__image img { transform: scale(1.025); }
.item-placeholder { display: grid; height: 100%; place-items: center; color: var(--teal); font-size: 4rem; }
.item-card__body { padding: 13px; }
.item-card h3 { margin: 0 0 6px; overflow: hidden; color: #123f51; font-size: 1.02rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.item-card__meta { min-height: 48px; display: flex; align-content: start; flex-wrap: wrap; gap: 4px 13px; margin-bottom: 10px; color: #51747a; font-size: .84rem; }
.item-card__meta span:first-child { width: 100%; color: #3b676d; }
.center-action { display: flex; justify-content: center; padding-top: 24px; }
.text-link { color: var(--teal); font-weight: 900; }
.empty-state { grid-column: 1/-1; padding: 54px 25px; text-align: center; background: var(--cream); border: 1px dashed #bddad5; border-radius: var(--radius); }
.empty-state > span { color: var(--teal); font-size: 3rem; }
.empty-state h3 { margin: 8px 0; font-size: 1.45rem; }
.empty-state p { margin: 0 0 20px; color: var(--muted); }

.how-it-works { padding: 18px 0 12px; }
.how-panel { padding: 19px 24px 23px; background: var(--mist); border-radius: var(--radius); }
.how-panel h2 { margin-bottom: 18px; text-align: center; font-size: 1.7rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { min-width: 0; display: grid; grid-template-columns: 37px 55px 1fr; align-items: center; gap: 13px; padding: 4px 24px; border-right: 1px solid #cfe4e1; }
.step:last-child { border-right: 0; }
.step > b { display: grid; width: 35px; height: 35px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; }
.step-icon { color: var(--teal); font-size: 2.75rem; line-height: 1; }
.step h3 { margin: 0 0 3px; color: #123f51; font-size: 1rem; font-weight: 900; }
.step p { margin: 0; color: #52727a; font-size: .88rem; line-height: 1.35; }
.trust-section { padding: 0 0 18px; }
.trust-panel { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 18px; padding: 16px 24px; background: linear-gradient(90deg, #effbf9, #f8fcfb); border-radius: var(--radius); }
.shield { display: grid; width: 43px; height: 48px; place-items: center; color: #fff; background: var(--teal); border-radius: 45% 45% 52% 52%; font-size: 1.3rem; }
.trust-panel h2 { margin: 0; color: #123f51; font-size: 1rem; font-weight: 900; }
.trust-panel p { margin: 2px 0 0; color: #5b7b7f; font-size: .87rem; }
.trust-panel > strong { max-width: 220px; color: #1c5a69; font-style: italic; text-align: right; transform: rotate(-2deg); }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 112px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 24px; }
.footer-inner .brand-logo img, .footer-inner .custom-logo { width: 150px; height: 55px; }
.footer-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; color: #315e6c; font-size: .9rem; }
.footer-menu a:hover { color: var(--coral); }
.copyright { color: #51747a; font-size: .88rem; }
.content-shell { min-height: 60vh; padding-block: 60px; }
.content-card { margin-bottom: 22px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.prose { max-width: 840px; margin-inline: auto; }
.prose h1 { color: var(--teal); }
.single-featured { overflow: hidden; margin: 20px 0; border-radius: 16px; }
.single-featured img { width: 100%; height: auto; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-visual { max-width: 600px; margin: -10px auto 0; }
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: start; flex-direction: column; }
  .feed-controls { width: 100%; justify-content: space-between; }
  .steps { gap: 12px; }
  .step { grid-template-columns: 35px 1fr; border: 0; background: rgba(255,255,255,.58); border-radius: 12px; }
  .step-icon { display: none; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .header-inner { min-height: 66px; gap: 8px; }
  .brand-logo img, .custom-logo { width: 125px; height: 44px; }
  .header-actions { gap: 8px; }
  .location-pill { max-width: 142px; padding: 9px 11px; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
  .account-button { min-height: 40px; padding: 8px 11px; font-size: .78rem; }
  .hero-grid { min-height: auto; gap: 8px; padding-top: 26px; }
  .hero h1 { font-size: clamp(2.15rem, 11.5vw, 3.35rem); }
  .hero-copy { margin: 12px 0 18px; font-size: 1rem; }
  .hero-actions { grid-template-columns: 1fr; gap: 11px; }
  .action-card { min-height: 88px; grid-template-columns: 54px 1fr 16px; padding: 14px 17px; }
  .action-card strong { font-size: 1.4rem; }
  .action-card small { font-size: .9rem; }
  .action-icon { width: 45px; height: 45px; font-size: 1.5rem; border-width: 3px; }
  .action-icon--search { width: 39px; height: 39px; }
  .free-note { justify-content: start; font-size: .9rem; }
  .hero-visual { width: 112%; margin-left: -6%; }
  .items-section { padding-top: 30px; }
  .section-heading h2 { font-size: 2rem; }
  .feed-controls { align-items: stretch; flex-direction: column; gap: 8px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding-inline: 7px; font-size: .82rem; }
  .location-inline { align-self: flex-start; }
  .item-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .item-card__body { padding: 9px; }
  .item-card h3 { font-size: .88rem; }
  .item-card__meta { min-height: 41px; gap: 3px 7px; font-size: .72rem; }
  .button--small { min-height: 34px; padding: 6px 4px; font-size: .75rem; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 82px; }
  .trust-panel { grid-template-columns: 40px 1fr; padding: 14px; }
  .trust-panel > strong { grid-column: 1/-1; max-width: none; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; padding-block: 26px; text-align: center; }
  .footer-menu { gap: 13px 18px; }
  .copyright { margin: 0; }
}

@media (max-width: 410px) {
  .item-grid { grid-template-columns: 1fr; }
  .item-card__image { aspect-ratio: 1.75/1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
