/* لمسة وفاء — styles (v3: simple & modern) */
:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --ink: #1F2B22;
  --body: #535C51;
  --muted: #858B82;
  --green: #3B5A3A;
  --green-dark: #2A4229;
  --green-mid: #5F7D57;
  --green-tint: #E5ECDF;
  --green-soft: #F0F4EC;
  --gold: #A6783F;
  --gold-dark: #8A6232;
  --gold-tint: #F4EADA;
  --line: #E8E5DD;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(31, 43, 34, .04), 0 6px 18px -10px rgba(31, 43, 34, .12);
  --shadow-lg: 0 2px 4px rgba(31, 43, 34, .04), 0 18px 40px -18px rgba(31, 43, 34, .22);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-head: "Readex Pro", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font); font-size: 15.5px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: 14.5px; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary, .btn-primary:visited { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 242, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand b { display: block; font-family: var(--font-head); font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.brand small { display: block; font-size: 11.5px; color: var(--gold); font-weight: 500; line-height: 1.3; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--body); font-size: 14.5px; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--green-soft); color: var(--green); }
.nav-links a.btn-primary { color: #fff; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute; inset-inline: 14px; top: 70px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 11px 14px; font-size: 15px; border-radius: 10px; }
  .nav-links .btn { display: flex; margin-top: 6px; }
}
@media (min-width: 961px) { .nav-links .btn { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 520px; background: radial-gradient(closest-side, #E3EBDC, transparent 70%); z-index: -1; }
.hero::after { content: ""; position: absolute; width: 380px; height: 380px; inset-inline-start: -120px; bottom: -200px; background: radial-gradient(closest-side, #F3E5CF, transparent 70%); z-index: -1; }
.hero-inner { max-width: 760px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--body); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(38px, 6.5vw, 60px); font-weight: 700; margin: 18px 0 2px; }
.hero h1 span { color: var(--green); }
.tagline { font-family: var(--font-head); font-size: clamp(16px, 2vw, 19px); color: var(--gold); font-weight: 500; }
.hero .lead { font-size: 16.5px; margin: 16px auto 26px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-groups { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hero-groups li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); text-align: start; line-height: 1.4; }
.hero-groups .icon { width: 34px; height: 34px; border-radius: 10px; }
.hero-groups .icon svg { width: 17px; height: 17px; }
@media (max-width: 760px) { .hero { padding: 48px 0 48px; } .hero-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; } }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.section-head h2 { font-size: clamp(23px, 3vw, 30px); }
.section-head p { margin-top: 10px; font-size: 15.5px; }
@media (max-width: 700px) { section { padding: 56px 0; } }

.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { font-size: 16.5px; margin: 14px 0 4px; }
.card p { font-size: 14.5px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); }
.icon svg { width: 20px; height: 20px; }
.icon.gold { background: var(--gold-tint); color: var(--gold-dark); }
.icon.soft { background: var(--green-soft); color: var(--green-mid); }

/* story */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.story p { font-size: 15.5px; line-height: 1.95; margin-bottom: 14px; }
.story p strong { color: var(--green); }
.pull { margin: 20px 0 0; padding: 18px 22px; border-inline-start: 3px solid var(--gold); background: var(--gold-tint); border-radius: 4px 14px 14px 4px; color: var(--ink); font-family: var(--font-head); font-size: 16px; line-height: 1.8; }
.why { display: grid; gap: 10px; }
.why-title { font-size: 16px; margin-bottom: 4px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.why-item b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; }
.why-item b + span { display: block; font-size: 14px; line-height: 1.7; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 28px; } }

/* vision & mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm-card { position: relative; border-radius: 20px; padding: 28px; overflow: hidden; }
.vm-card.vision { background: var(--green-soft); border: 1px solid var(--green-tint); }
.vm-card.mission { background: #FBF6EE; border: 1px solid var(--gold-tint); }
.vm-card .label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.vm-card.vision .label { color: var(--green); }
.vm-card.mission .label { color: var(--gold-dark); }
.vm-card .label svg { width: 17px; height: 17px; }
.vm-card blockquote { margin: 12px 0 0; font-size: 16.5px; line-height: 1.9; color: var(--ink); }
.vm-card blockquote em { font-style: normal; font-weight: 600; color: var(--green); }
.vm-card.mission blockquote em { color: var(--gold-dark); }
.vm-card .quote { position: absolute; inset-inline-end: 18px; top: 16px; width: 48px; height: 48px; opacity: .08; color: var(--ink); }
.values { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.values-title { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); margin-inline-end: 6px; }
.value { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); }
.value svg { width: 15px; height: 15px; color: var(--green); }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } .vm-card { padding: 22px; } }

/* programs tabs */
.tabs { display: flex; gap: 6px; padding: 5px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 38px; padding: 8px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--body); font-family: var(--font-head); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--green); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--green); box-shadow: 0 1px 3px rgba(31, 43, 34, .12); }
.panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; }
.panel[hidden] { display: none; }
.panel-intro { background: var(--green-soft); border: 1px solid var(--green-tint); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.panel-intro h3 { font-size: 20px; }
.panel-intro p { font-size: 15px; color: var(--ink); line-height: 1.85; }
.panel-intro .icon { background: var(--surface); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--green); font-size: 12.5px; font-weight: 500; }
.tag.gold { color: var(--gold-dark); }
.panel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.mini .icon { width: 36px; height: 36px; border-radius: 10px; }
.mini .icon svg { width: 18px; height: 18px; }
.mini b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.mini b + span { display: block; font-size: 13.5px; line-height: 1.6; margin-top: 2px; }
.note { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 14px; color: var(--body); }
.note svg { width: 18px; height: 18px; color: var(--green); }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .panel-list { grid-template-columns: 1fr; } .panel-intro { padding: 20px; } }

/* seasons */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.t-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 20px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.t-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.t-dot svg { width: 20px; height: 20px; }
.t-dot.bg-green { background: var(--green-tint); color: var(--green); }
.t-dot.bg-gold { background: var(--gold-tint); color: var(--gold-dark); }
.t-item small { display: block; font-size: 12.5px; font-weight: 600; }
.t-item b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; }
.t-item b + span { display: block; font-size: 13px; color: var(--muted); }
.c-green { color: var(--green); } .c-gold { color: var(--gold-dark); }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; gap: 8px; }
  .t-item { flex-direction: row; text-align: start; padding: 12px 14px; }
}

/* team */
.members-lead { margin-bottom: 16px; }
.member { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.m-photo { position: relative; aspect-ratio: 4 / 3.3; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: linear-gradient(180deg, #F3F1EA, #E7EEE1); }
.m-photo img { width: 80%; height: 94%; object-fit: contain; object-position: bottom center; }
.m-photo.empty { align-items: center; }
.m-photo.empty img { width: 30%; height: auto; opacity: .35; filter: grayscale(.3); }
.m-photo .badge { position: absolute; top: 10px; inset-inline-start: 10px; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--green); }
.m-photo .badge.gold { color: var(--gold-dark); }
.m-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.m-body h3 { margin: 0; font-size: 16.5px; }
.m-body h3.tbd { color: var(--muted); font-weight: 500; font-size: 15px; }
.m-role { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--green); font-weight: 500; font-size: 13.5px; }
.m-role svg { width: 15px; height: 15px; }
.m-body ul { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 5px; }
.m-body li { position: relative; padding-inline-start: 14px; font-size: 13.5px; line-height: 1.6; }
.m-body li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.m-body .tip { margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-weight: 500; font-size: 12.5px; text-align: center; }
@media (max-width: 600px) {
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .members .m-photo { aspect-ratio: 1 / 1; }
  .members .m-body { padding: 10px 12px 14px; }
  .members .m-body h3 { font-size: 14.5px; }
  .members .m-body h3.tbd { font-size: 13.5px; }
  .members .m-role { font-size: 12.5px; align-items: flex-start; line-height: 1.5; }
  .members .m-role svg { width: 13px; height: 13px; margin-top: 3px; }
  .members .m-body ul, .members .m-body .tip { display: none; }
  .members .m-photo .badge { top: 6px; inset-inline-start: 6px; font-size: 10.5px; padding: 2px 8px; }
}

/* volunteer */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.j-step { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.j-num { position: absolute; top: 18px; inset-inline-end: 18px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--muted); }
.j-step b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; margin-top: 12px; }
.j-step b + span { display: block; font-size: 13.5px; line-height: 1.7; margin-top: 2px; }
.benefits { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 16px 20px; border-radius: 16px; background: var(--green-soft); border: 1px solid var(--green-tint); }
.benefits h3 { font-size: 14.5px; color: var(--green); margin-inline-end: 6px; }
.benefit { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink); }
.benefit svg { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 960px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }

/* partners */
.link-card { color: inherit; display: flex; flex-direction: column; }
.link-card:hover { color: inherit; border-color: #C9D4C1; }
.link-card .more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 500; font-size: 13.5px; }
.link-card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.link-card:hover .more svg { transform: translateX(-3px); }
.cta { margin-top: 16px; padding: 24px 28px; border-radius: 20px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cta h3 { color: #fff; font-size: 18px; }
.cta p { color: #D9E4D3; font-size: 14px; margin-top: 2px; }
.cta .btn { background: #fff; color: var(--green); }
.cta .btn:hover { background: var(--gold-tint); color: var(--green-dark); }

/* slogan */
.slogan { padding: 64px 0; text-align: center; }
.slogan p { font-family: var(--font-head); font-size: clamp(22px, 3.4vw, 34px); color: var(--ink); font-weight: 600; line-height: 1.6; }
.slogan p span { color: var(--green); }
.slogan small { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.handle-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.handle-card small { color: var(--muted); font-size: 13px; }
.handle-card .handle { display: block; direction: ltr; text-align: right; font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 3vw, 26px); color: var(--green); margin: 2px 0 16px; }
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.social { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px; border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.social svg { width: 18px; height: 18px; color: var(--green); }
.social:hover { background: var(--green); color: #fff; }
.social:hover svg { color: #fff; }
.direct { display: grid; gap: 8px; }
.direct a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.direct a:hover { border-color: #C9D4C1; box-shadow: var(--shadow); color: var(--ink); }
.direct small { display: block; color: var(--muted); font-size: 12.5px; }
.direct b { display: block; direction: ltr; text-align: right; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; }
.direct b.email { font-size: 14px; word-break: break-all; }
.direct .go { margin-inline-start: auto; color: var(--muted); }
.direct .go svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { padding: 36px 0 24px; background: var(--surface); border-top: 1px solid var(--line); font-size: 13.5px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-bg { display: contents; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.footer-brand span span { color: var(--gold); font-size: 12.5px; }
.footer-social { display: flex; gap: 6px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--green); transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .card:hover { transform: none; } }

/* =================== links page =================== */
.lp { min-height: 100vh; display: flex; justify-content: center; padding: 36px 16px 44px; position: relative; overflow-x: hidden; }
.lp::before { content: ""; position: fixed; inset: -30% -20% auto; height: 480px; background: radial-gradient(closest-side, #E3EBDC, transparent 70%); z-index: -1; }
.lp-wrap { width: 100%; max-width: 440px; }
.lp-top { position: relative; text-align: center; }
.lp-share { position: absolute; top: 0; inset-inline-start: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.lp-share svg { width: 17px; height: 17px; }
.lp-logo { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; background: var(--surface); display: grid; place-items: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-logo img { width: 82px; height: 82px; object-fit: contain; }
.lp h1 { font-size: 22px; margin-top: 12px; font-weight: 700; }
.lp .handle { color: var(--green); font-size: 13.5px; font-weight: 500; }
.lp .bio { margin: 8px auto 0; max-width: 360px; font-size: 14px; line-height: 1.75; }
.lp-list { display: grid; gap: 8px; margin-top: 22px; }
.lp-link { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.lp-link:hover { color: var(--ink); border-color: #C9D4C1; transform: translateY(-1px); box-shadow: var(--shadow); }
.lp-link .icon { width: 38px; height: 38px; border-radius: 11px; }
.lp-link .icon svg { width: 18px; height: 18px; }
.lp-link b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 14.5px; line-height: 1.35; }
.lp-link small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.lp-link .go { margin-inline-start: auto; color: var(--muted); }
.lp-link .go svg { width: 17px; height: 17px; }
.lp-link.main { background: var(--green); border-color: var(--green); color: #fff; }
.lp-link.main small { color: #D3DFCC; }
.lp-link.main .icon { background: rgba(255, 255, 255, .14); color: #fff; }
.lp-link.main .go { color: #fff; }
.lp-sec { margin: 24px 0 10px; font-family: var(--font-head); font-weight: 500; font-size: 13px; color: var(--muted); text-align: center; }
.lp-sec bdi { color: var(--green); }
.lp-tiles { display: grid; gap: 8px; }
.lp-tiles.t3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-tiles.t4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 12.5px; font-weight: 500; text-align: center; transition: border-color .2s, transform .2s; }
.lp-tile:hover { color: var(--ink); border-color: #C9D4C1; transform: translateY(-1px); }
.lp-tile .icon { width: 38px; height: 38px; border-radius: 11px; }
.lp-tile .icon svg { width: 18px; height: 18px; }
.lp-foot { text-align: center; margin-top: 28px; font-size: 12.5px; color: var(--muted); }
.lp-foot b { color: var(--gold); font-weight: 500; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; transition: all .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =================== motion & menu (v3.1) =================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s ease both; }
::view-transition-new(root) { animation: vtIn .42s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }
body { animation: pageIn .6s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* scroll progress */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--gold), var(--green)); transform: scaleX(0); transform-origin: right; pointer-events: none; }

/* header & menu */
.site-header { animation: headerIn .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes headerIn { from { transform: translateY(-100%); } }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: inline-flex; animation: spinIn .3s ease; }
.menu-btn span { display: inline-flex; }
@keyframes spinIn { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }
.nav-links a.active { color: var(--green); background: var(--green-soft); }
.nav-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(31, 43, 34, .32); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; touch-action: none; }
.nav-backdrop.show { opacity: 1; visibility: visible; }
body.menu-open { position: fixed; inset-inline: 0; width: 100%; overflow: hidden; }
@media (max-width: 960px) {
  .nav-links { max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; transform-origin: top center; transform: translateY(-8px) scale(.98); }
  .nav-links.open { transform: none; }
  .nav-links.open > * { animation: itemIn .4s cubic-bezier(.2, .7, .2, 1) both; }
  .nav-links.open > *:nth-child(2) { animation-delay: .03s; } .nav-links.open > *:nth-child(3) { animation-delay: .06s; }
  .nav-links.open > *:nth-child(4) { animation-delay: .09s; } .nav-links.open > *:nth-child(5) { animation-delay: .12s; }
  .nav-links.open > *:nth-child(6) { animation-delay: .15s; } .nav-links.open > *:nth-child(7) { animation-delay: .18s; }
  .nav-links.open > *:nth-child(8) { animation-delay: .21s; }
}
@keyframes itemIn { from { opacity: 0; transform: translateX(14px); } }

/* hero entrance (plays on load) */
.hero .reveal { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; transition: none; }
.hero .reveal:nth-child(1) { animation-delay: .15s; } .hero .reveal:nth-child(2) { animation-delay: .25s; }
.hero .reveal:nth-child(3) { animation-delay: .35s; } .hero .reveal:nth-child(4) { animation-delay: .45s; }
.hero .reveal:nth-child(5) { animation-delay: .55s; } .hero .reveal:nth-child(6) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero::before { animation: float 12s ease-in-out infinite alternate; }
.hero::after { animation: float 14s ease-in-out infinite alternate-reverse; }
@keyframes float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(30px, 20px, 0) scale(1.06); } }
.hero h1 span { background: linear-gradient(90deg, var(--green), var(--green-mid), var(--green)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite; }
@keyframes shine { 50% { background-position: 100% 0; } }
.hero-groups li { transition: transform .25s, border-color .25s, box-shadow .25s; }
.hero-groups li:hover { transform: translateY(-3px); border-color: #C9D4C1; box-shadow: var(--shadow); }

/* scroll reveal: smoother curve */
.reveal { transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }

/* micro-interactions */
.btn:active, .lp-link:active, .lp-tile:active, .social:active { transform: scale(.97); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%); transform: translateX(120%); transition: transform .7s ease; }
.btn-primary:hover::after { transform: translateX(-120%); }
.card .icon, .why-item .icon, .mini .icon, .j-step .icon { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card:hover .icon, .why-item:hover .icon, .mini:hover .icon, .j-step:hover .icon { transform: translateY(-2px) rotate(-6deg); }
.why-item, .mini, .j-step, .t-item { transition: transform .25s, box-shadow .25s, border-color .25s; }
.why-item:hover, .mini:hover, .j-step:hover, .t-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #D7DFD0; }
.m-photo img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.member:hover .m-photo img { transform: scale(1.04); }
.panel.swap > * { animation: swapIn .45s cubic-bezier(.2, .7, .2, 1) both; }
.panel.swap > *:nth-child(2) { animation-delay: .06s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } }
.tab { transition: background .25s, color .25s, box-shadow .25s; }

/* back to top */
.to-top { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--green); border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* links page entrance */
.lp-top > *, .lp-list > *, .lp-sec, .lp-tiles > *, .lp-foot { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; opacity: 0; transform: translateY(14px); }
.lp-top > :nth-child(2) { animation-delay: .05s; } .lp-top > :nth-child(3) { animation-delay: .12s; } .lp-top > :nth-child(4) { animation-delay: .17s; } .lp-top > :nth-child(5) { animation-delay: .22s; }
.lp-list > :nth-child(1) { animation-delay: .28s; } .lp-list > :nth-child(2) { animation-delay: .34s; } .lp-list > :nth-child(3) { animation-delay: .4s; } .lp-list > :nth-child(4) { animation-delay: .46s; }
.lp-sec { animation-delay: .5s; }
.lp-tiles > :nth-child(1) { animation-delay: .54s; } .lp-tiles > :nth-child(2) { animation-delay: .58s; } .lp-tiles > :nth-child(3) { animation-delay: .62s; } .lp-tiles > :nth-child(4) { animation-delay: .66s; }
.lp-tiles.t4 > * { animation-delay: .72s; }
.lp-foot { animation-delay: .8s; }
.lp-top > .lp-logo { opacity: 1; transform: none; animation: pop .7s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }
.lp-tile .icon { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.lp-tile:hover .icon { transform: translateY(-2px) scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .reveal, .reveal, .lp-top > *, .lp-list > *, .lp-sec, .lp-tiles > *, .lp-foot { opacity: 1 !important; transform: none !important; }
}
