/* ───────── Алақан — shared styles ───────── */
:root {
  --cream: #fbf6ec;
  --cream-2: #f4ecdb;
  --paper: #ffffff;
  --ink: #12312c;
  --ink-soft: #4d6661;
  --line: rgba(18, 49, 44, 0.12);
  --teal: #0b7a75;
  --teal-dark: #075e5a;
  --teal-soft: #d9efeb;
  --gold: #f2b33d;
  --gold-soft: #fdecc4;
  --coral: #ef6f4a;
  --coral-soft: #fde0d6;
  --sky: #3a8fd6;
  --sky-soft: #dbeafa;
  --radius: 22px;
  --shadow: 0 18px 50px -20px rgba(18, 49, 44, 0.35);
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 26px -12px var(--teal); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); background: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px var(--gold); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* ───────── Header ───────── */
.site-header { position: relative; z-index: 5; padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; }
.logo-mark svg { width: 24px; height: 24px; }
.header-links { display: none; gap: 28px; font-weight: 500; color: var(--ink-soft); }
.header-links a:hover { color: var(--ink); }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; padding: 24px 0 70px; }
.hero::before {
  content: ""; position: absolute; inset: -120px -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 44px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; color: var(--teal-dark);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 6.2vw, 4rem); line-height: 1.08; letter-spacing: -.03em;
  margin: 20px 0 18px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .22em;
  background: var(--gold); border-radius: 999px; z-index: -1; opacity: .75;
}
.hero p.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--ink-soft); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; font-weight: 500; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--teal); }

/* Hero visual: phone mock */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.sun { position: absolute; width: min(460px, 100%); aspect-ratio: 1; animation: spin 80s linear infinite; opacity: .9; }
.phone {
  position: relative; width: min(310px, 86%);
  background: var(--paper); border-radius: 34px; padding: 14px;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  transform: rotate(-3deg);
}
.phone-head { display: flex; align-items: center; gap: 10px; padding: 6px 6px 12px; border-bottom: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; flex: none; }
.avatar svg { width: 22px; height: 22px; }
.phone-head b { display: block; font-size: .92rem; line-height: 1.2; }
.phone-head span { font-size: .76rem; color: var(--teal); }
.phone-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 4px 6px; background: var(--paper); }
.mini { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: .86rem; line-height: 1.4; opacity: 0; animation: pop .5s ease forwards; }
.mini.bot { background: var(--cream-2); border-bottom-left-radius: 5px; align-self: flex-start; }
.mini.me { background: var(--teal); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.mini:nth-child(1) { animation-delay: .3s; } .mini:nth-child(2) { animation-delay: .9s; }
.mini:nth-child(3) { animation-delay: 1.5s; } .mini:nth-child(4) { animation-delay: 2.1s; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; animation: pop .5s ease 2.7s forwards; }
.mini-chips span { padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--teal); color: var(--teal-dark); font-size: .78rem; font-weight: 600; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--paper); padding: 10px 14px; border-radius: 16px;
  box-shadow: var(--shadow); font-weight: 600; font-size: .86rem;
  animation: bob 5s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float-card .ic svg { width: 19px; height: 19px; }
.float-card.a { top: 8%; left: 0; }
.float-card.b { bottom: 10%; right: 0; animation-delay: -2.5s; }

/* ───────── Sections ───────── */
section { padding: 64px 0; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 12px; text-wrap: balance; }
.section-lead { color: var(--ink-soft); max-width: 36em; font-size: 1.05rem; }

/* Needs */
.needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.need {
  position: relative; display: flex; flex-direction: column; min-height: 210px;
  padding: 20px; border-radius: var(--radius); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.need:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.need .ic { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.7); display: grid; place-items: center; }
.need .ic svg { width: 28px; height: 28px; }
.need h3 { font-family: var(--font-display); font-size: clamp(1rem, 2.4vw, 1.25rem); font-weight: 700; margin-top: auto; padding-top: 22px; letter-spacing: -.01em; }
.need p { font-size: .92rem; color: var(--ink-soft); margin-top: 6px; }
.need .go { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .22s ease; }
.need:hover .go { transform: rotate(-45deg); }
.need .go svg { width: 16px; height: 16px; }
.need.food { background: var(--gold-soft); } .need.food .ic { color: #a86a00; }
.need.home { background: var(--teal-soft); } .need.home .ic { color: var(--teal-dark); }
.need.school { background: var(--sky-soft); } .need.school .ic { color: #1f63a3; }
.need.clothes { background: var(--coral-soft); } .need.clothes .ic { color: #b9431f; }

/* Steps */
.how { background: var(--ink); color: #fff; border-radius: 36px; margin-inline: 12px; }
.how .eyebrow { color: var(--gold); }
.how .section-lead { color: rgba(255,255,255,.7); }
.steps { display: grid; gap: 14px; margin-top: 34px; counter-reset: s; list-style: none; }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.steps li::before { content: "0" counter(s); font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--gold); }
.steps h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.steps p { color: rgba(255,255,255,.7); font-size: .96rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-box {
  position: relative; overflow: hidden;
  background: var(--teal); color: #fff; border-radius: 36px; padding: 56px 24px;
}
.cta-box::before, .cta-box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-box::before { width: 320px; height: 320px; top: -140px; left: -80px; }
.cta-box::after { width: 240px; height: 240px; bottom: -120px; right: -40px; background: rgba(242,179,61,.25); }
.cta-box > * { position: relative; }
.cta-box p { color: rgba(255,255,255,.85); margin: 0 auto 26px; max-width: 30em; font-size: 1.05rem; }

/* Footer */
footer { padding: 10px 0 130px; color: var(--ink-soft); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.sos { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--coral-soft); color: #9c3414; font-weight: 600; }

/* ───────── Bottom dock ───────── */
.dock {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 50; width: min(340px, calc(100% - 32px));
  border-radius: 999px; box-shadow: 0 18px 36px -12px rgba(18,49,44,.55);
}
.dock a.to-chat {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 24px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 1.05rem; font-weight: 700;
  border: 2px solid rgba(255,255,255,.14);
  transition: background .18s, transform .18s;
}
.dock a.to-chat svg { width: 22px; height: 22px; color: var(--gold); }
.dock a.to-chat:hover { background: #0b2420; transform: translateY(-2px); }

/* ───────── Animations ───────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s ease both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }

/* ───────── Responsive ───────── */
@media (min-width: 720px) {
  .header-links { display: flex; }
  .needs { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .need { min-height: 260px; padding: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  section { padding: 90px 0; }
  .how { margin-inline: 24px; }
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 100px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-visual { min-height: 540px; }
}
@media (max-width: 959px) {
  .hero-visual { padding: 34px 0 20px; }
  .float-card.a { top: 0; left: auto; right: 0; }
  .float-card.b { bottom: 0; right: auto; left: 0; }
}
@media (max-width: 420px) {
  .site-header .btn { display: none; }
  .need { min-height: 190px; padding: 16px; }
  .need .go { width: 30px; height: 30px; top: 14px; right: 14px; }
  .hero-cta .btn { width: 100%; }
}

/* ═════════ Chat page ═════════ */
body.chat-page {
  height: 100dvh; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(circle at 15% 10%, var(--gold-soft) 0, transparent 40%),
    radial-gradient(circle at 90% 90%, var(--teal-soft) 0, transparent 45%),
    var(--cream);
}
.chat {
  width: 100%; height: 100dvh; display: flex; flex-direction: column;
  background: var(--cream-2); overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--paper); border-bottom: 1px solid var(--line); flex: none;
}
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .15s; }
.icon-btn:hover { background: var(--cream-2); }
.icon-btn svg { width: 22px; height: 22px; }
.chat-head .who { flex: 1; min-width: 0; }
.chat-head b { display: block; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head .status { font-size: .8rem; color: var(--teal); }
.progress { height: 3px; background: var(--line); flex: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 0 3px 3px 0; transition: width .4s ease; }

.msgs {
  flex: 1; overflow-y: auto; padding: 18px 14px 10px; display: flex; flex-direction: column; gap: 6px;
  background-color: var(--cream-2);
  background-image: radial-gradient(rgba(18,49,44,.07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  overscroll-behavior: contain;
}
.day { align-self: center; font-size: .76rem; font-weight: 600; color: var(--ink-soft); background: rgba(255,255,255,.75); padding: 4px 12px; border-radius: 999px; margin: 4px 0 8px; }
.msg {
  max-width: min(78%, 520px); padding: 9px 13px 7px; border-radius: 18px;
  font-size: .98rem; line-height: 1.42; word-wrap: break-word; overflow-wrap: anywhere;
  box-shadow: 0 1px 1.5px rgba(18,49,44,.12); animation: pop .28s ease both;
}
.msg time { display: block; text-align: right; font-size: .68rem; opacity: .6; margin-top: 2px; }
.msg.bot { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 6px; }
.msg.ai { border-left: 3px solid var(--gold); }
.msg + .msg.me, .msg.me + .msg.bot { margin-top: 6px; }

.typing { display: inline-flex; gap: 4px; padding: 6px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.summary { min-width: min(260px, 70vw); }
.summary h4 { font-family: var(--font-display); font-size: .9rem; margin-bottom: 8px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; font-size: .9rem; }
.summary dt { color: var(--ink-soft); }
.summary dd { font-weight: 600; }

.replies { flex: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 4px; background: var(--paper); }
.replies:empty { display: none; }
.chip {
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--teal);
  color: var(--teal-dark); font-weight: 600; font-size: .93rem; background: var(--paper);
  transition: background .15s, color .15s, transform .15s; animation: pop .25s ease both;
}
.chip:hover { background: var(--teal-soft); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--teal); color: #fff; }
.chip.done { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip.done:disabled { opacity: .45; cursor: not-allowed; }

.composer { flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); background: var(--paper); }
.composer textarea {
  flex: 1; resize: none; overflow-y: hidden; border: 1.5px solid var(--line); border-radius: 22px;
  padding: 11px 16px; font: inherit; color: inherit; background: var(--cream); max-height: 120px; line-height: 1.4;
}
.composer textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.composer textarea:disabled { opacity: .6; }
.send { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; transition: transform .15s, background .15s; }
.send:hover { background: var(--teal-dark); }
.send:active { transform: scale(.92); }
.send:disabled { background: var(--line); color: var(--ink-soft); cursor: not-allowed; }
.send svg { width: 21px; height: 21px; }

@media (min-width: 760px) {
  .chat { width: min(760px, 100% - 48px); height: min(860px, 100dvh - 48px); border-radius: 28px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
  .msgs { padding: 24px 22px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ───────── Need card pictures ───────── */
.need { min-height: 0; padding-top: 14px; }
.need .pic { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: rgba(255,255,255,.55); border-radius: 16px; padding: 8px; transition: transform .3s ease; }
.need:hover .pic { transform: scale(1.04); }
.need h3 { margin-top: 0; padding-top: 16px; }
.need .go { display: none; }

/* Photos in need cards (SVG illustration is the offline fallback) */
.need .pic { object-fit: cover; padding: 0; }
.need .pic.fallback { object-fit: contain; padding: 8px; }
.credit { margin-top: 14px; font-size: .8rem; color: var(--ink-soft); }
.credit a { text-decoration: underline; }

/* ───────── Illustrations ───────── */
.steps li { display: flex; flex-direction: column; }
.step-art { width: 100%; max-width: 220px; height: auto; aspect-ratio: 200 / 140; margin: 4px auto 14px; display: block; }
.steps li::before { order: 1; }
.steps li h3 { order: 2; }
.steps li p { order: 3; }
.steps li .step-art { order: 0; }

.cta-box { display: grid; gap: 10px; align-items: center; justify-items: center; }
.cta-art { width: min(300px, 82%); height: auto; animation: bob 6s ease-in-out infinite; }
.cta-text { position: relative; }
@media (min-width: 860px) {
  .cta-box { grid-template-columns: 1fr 1.1fr; text-align: left; padding: 48px 56px; gap: 30px; }
  .cta-box .cta-text { order: -1; }
  .cta-box p { margin-left: 0; }
  .cta-art { width: 100%; max-width: 340px; }
}

.landscape { margin-top: 40px; line-height: 0; }
.landscape img { width: 100%; height: clamp(160px, 26vw, 320px); object-fit: cover; object-position: center bottom; }
.landscape + footer { background: #0b7a75; color: rgba(255,255,255,.85); padding-top: 18px; }
.landscape + footer .sos { background: rgba(255,255,255,.14); color: #fff; }

/* ═════════ "Сізге не қажет?" — photo cards ═════════ */
.needs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 30px; }
.needs-badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.needs-badges li { padding: 8px 14px 8px 30px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: .88rem; position: relative; }
.needs-badges li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 6px; margin-top: -5px; border-left: 2.500px solid var(--teal); border-bottom: 2.500px solid var(--teal); transform: rotate(-45deg); }

.nd-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
.nd {
  --c: var(--teal); --c-soft: var(--teal-soft);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 340px; border-radius: 26px; color: #fff; background: var(--ink);
  box-shadow: 0 14px 30px -18px rgba(18,49,44,.6);
  transition: transform .3s ease, box-shadow .3s ease;
}
.nd.food { --c: #f2b33d; --c-soft: #fdecc4; }
.nd.home { --c: #2fbfb3; --c-soft: #d9efeb; }
.nd.school { --c: #5aa9ec; --c-soft: #dbeafa; }
.nd.clothes { --c: #ff8a63; --c-soft: #fde0d6; }
.nd img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.nd::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,25,22,.15) 0%, rgba(10,25,22,0) 30%, rgba(10,25,22,.55) 58%, rgba(10,25,22,.92) 100%); }
.nd:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -22px rgba(18,49,44,.7); }
.nd:hover img { transform: scale(1.06); }

.nd-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 0; }
.nd-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--c-soft); color: #12312c; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.nd-ic svg { width: 26px; height: 26px; }
.nd-num { font-family: var(--font-display); font-weight: 800; font-size: .85rem; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.nd-body { display: block; padding: 0 18px 18px; }
.nd h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.nd h3::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--c); margin-bottom: 10px; }
.nd p { color: rgba(255,255,255,.85); font-size: .95rem; margin-top: 6px; }
.nd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.nd-tags span { font-size: .76rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nd-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 6px 6px 6px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; }
.nd-cta i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #12312c; transition: transform .25s ease; }
.nd-cta svg { width: 17px; height: 17px; }
.nd:hover .nd-cta i { transform: translateX(3px) rotate(-45deg); }

.needs-section .credit { font-size: .76rem; line-height: 1.6; }

@media (min-width: 600px) {
  .nd-grid { grid-template-columns: repeat(2, 1fr); }
  .nd { min-height: 400px; }
}
@media (min-width: 1040px) {
  .nd-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .nd { min-height: 470px; }
  .nd h3 { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { .nd img, .nd { transition: none; } }
